Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Document --unified/-U option
[gitweb.git]
/
builtin-ls-files.c
diff --git
a/builtin-ls-files.c
b/builtin-ls-files.c
index 48a313516db12dbb74d1f0293d3a55edc0cb3f2c..61577ea13ffdf0143dcb8a13c37ae49c1f8f2018 100644
(file)
--- a/
builtin-ls-files.c
+++ b/
builtin-ls-files.c
@@
-117,7
+117,7
@@
static void show_other_files(struct dir_struct *dir)
if (0 <= pos)
continue; /* exact match */
pos = -pos - 1;
- if (pos < active_nr) {
+ if (pos < active_nr) {
ce = active_cache[pos];
if (ce_namelen(ce) == len &&
!memcmp(ce->name, ent->name, len))