OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'mr/doc-negative-pathspec'
[git-core/git.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index
cdcd11c
..
65f4fe8
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;
}