Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
for-each-ref: let upstream/push report the remote ref name
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index cdcd11c71efd67130dd8159c9ac4da86e854222a..65f4fe8375d59234d5e58f87a8593fc50e6336a2 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-220,6
+220,7
@@
static int ce_modified_check_fs(const struct cache_entry *ce, struct stat *st)
case S_IFDIR:
if (S_ISGITLINK(ce->ce_mode))
return ce_compare_gitlink(ce) ? DATA_CHANGED : 0;
+ /* else fallthrough */
default:
return TYPE_CHANGED;
}