Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rebase: create HEAD reflog entry when aborting
[gitweb.git]
/
rerere.c
diff --git
a/rerere.c
b/rerere.c
index dee2cb1514d1e97c47a4999ed66f8996035d71fe..e3407cf33417385c89aa9a1a9a9d5ad2809f57fb 100644
(file)
--- a/
rerere.c
+++ b/
rerere.c
@@
-739,6
+739,7
@@
void rerere_gc(struct string_list *rr)
if (then < now - cutoff * 86400)
string_list_append(&to_remove, e->d_name);
}
+ closedir(dir);
for (i = 0; i < to_remove.nr; i++)
unlink_rr_item(to_remove.items[i].string);
string_list_clear(&to_remove, 0);