Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: don't use submodule_from_name
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index dd535bc8497e5d8202a94923fd0a68c3f46907fd..05335fe5bf285f575878440397d641137a8abbd7 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-286,7
+286,7
@@
static void reload_gitmodules_file(struct index_state *index,
for (i = 0; i < index->cache_nr; i++) {
struct cache_entry *ce = index->cache[i];
if (ce->ce_flags & CE_UPDATE) {
- int r = strcmp(ce->name,
".gitmodules"
);
+ int r = strcmp(ce->name,
GITMODULES_FILE
);
if (r < 0)
continue;
else if (r == 0) {