Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make ce_uptodate() trustworthy again
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 23e180eed13230fa234cdcb86db7dbd914abb4a5..c6c425e624124c23c0f9cc8e1e0d73dc75dcbf64 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-161,7
+161,7
@@
int run_diff_files(struct rev_info *revs, unsigned int option)
continue;
}
- if (
(ce_uptodate(ce) && !S_ISGITLINK(ce->ce_mode)
) || ce_skip_worktree(ce))
+ if (
ce_uptodate(ce
) || ce_skip_worktree(ce))
continue;
/* If CE_VALID is set, don't look at workdir for file removal */