Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-cvsserver: allow regex metacharacters in CVSROOT
[gitweb.git]
/
builtin-rerere.c
diff --git
a/builtin-rerere.c
b/builtin-rerere.c
index adfb7b5f48597c19c23235b74cf1a0c779985dc6..31fda73ae720e7c3d1abfa149e3259f179454f73 100644
(file)
--- a/
builtin-rerere.c
+++ b/
builtin-rerere.c
@@
-48,6
+48,8
@@
static void garbage_collect(struct string_list *rr)
git_config(git_rerere_gc_config, NULL);
dir = opendir(git_path("rr-cache"));
+ if (!dir)
+ die_errno("unable to open rr-cache directory");
while ((e = readdir(dir))) {
if (is_dot_or_dotdot(e->d_name))
continue;