Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-rm: do not fail on already removed file.
[gitweb.git]
/
path-list.c
diff --git
a/path-list.c
b/path-list.c
index 0c332dc7b556ba894f0452b0172e7dd1e485f929..caaa5cc57b05e1a27bb4fd8f49bb74e06b9936e3 100644
(file)
--- a/
path-list.c
+++ b/
path-list.c
@@
-1,4
+1,3
@@
-#include <stdio.h>
#include "cache.h"
#include "path-list.h"
@@
-57,7
+56,7
@@
struct path_list_item *path_list_insert(const char *path, struct path_list *list
int index = add_entry(list, path);
if (index < 0)
- index = 1 - index;
+ index =
-
1 - index;
return list->items + index;
}