Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
unpack-trees: avoid the_index in verify_absent()
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 6e14547e9e0000e6bf80e9ad21da81795cebcab7..293efc2a2f5130bd86b5546398d3a22630b6f311 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-258,7
+258,7
@@
int is_submodule_active(struct repository *repo, const char *path)
}
parse_pathspec(&ps, 0, 0, NULL, args.argv);
- ret = match_pathspec(&ps, path, strlen(path), 0, NULL, 1);
+ ret = match_pathspec(&
the_index, &
ps, path, strlen(path), 0, NULL, 1);
argv_array_clear(&args);
clear_pathspec(&ps);