Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule--helper: add a new 'config' subcommand
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 5aee2eaa66c3ee719ed584a1a10715d3e8d11f6a..fe84003b4fa05c377bb4ab1de04a7cd1c9ae4d5d 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-748,7
+748,7
@@
static int do_reupdate(int ac, const char **av,
int save_nr;
char *path;
- if (ce_stage(ce) || !ce_path_match(ce, &pathspec, NULL))
+ if (ce_stage(ce) || !ce_path_match(
&the_index,
ce, &pathspec, NULL))
continue;
if (has_head)
old = read_one_ent(NULL, &head_oid,