summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 78e138c..cee359f 100644
--- a/data.c
+++ b/data.c
@@ -391,7 +391,7 @@ int index_gc(const char *fn)
while (fgets(line, sizeof(line), i) != NULL) {
line[32] = '\0';
- if (object_here_by_md5(line))
+ if (line[0] != '-' && object_here_by_md5(line))
fprintf(o, "%s\n", line);
else
gc++;