Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ar/clone'
[gitweb.git]
/
builtin-ls-files.c
diff --git
a/builtin-ls-files.c
b/builtin-ls-files.c
index f7c066b24b7a6a728fd2f0bf4a92a31fb4a695dd..5398a41415372b07fa1fdb43c26b5570e9d990b8 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))