X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=builtin%2Fstash.c;h=d913487a43f913bc4ecb59c3f4739ee9b56ada79;hp=4e806176b0828b65cf405492ca2cd2d157e3fc4a;hb=57b530125e022de79f5f0b208bc0a5ee67c18b77;hpb=15d9f3dc6642497b1186e943cdccba3a8f9f0b0e diff --git a/builtin/stash.c b/builtin/stash.c index 4e806176b0..d913487a43 100644 --- a/builtin/stash.c +++ b/builtin/stash.c @@ -1088,8 +1088,9 @@ static int stash_working_tree(struct stash_info *info, const struct pathspec *ps } cp_upd_index.git_cmd = 1; - argv_array_pushl(&cp_upd_index.args, "update-index", "-z", "--add", - "--remove", "--stdin", NULL); + argv_array_pushl(&cp_upd_index.args, "update-index", + "--ignore-skip-worktree-entries", + "-z", "--add", "--remove", "--stdin", NULL); argv_array_pushf(&cp_upd_index.env_array, "GIT_INDEX_FILE=%s", stash_index_path.buf);