Merge branch 'bc/rev-parse-parseopt-fix'
[gitweb.git] / read-cache.c
index cdcd11c71efd67130dd8159c9ac4da86e854222a..65f4fe8375d59234d5e58f87a8593fc50e6336a2 100644 (file)
@@ -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;
        }