diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-05 11:39:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-05 11:39:13 -0800 |
commit | 3880c18336a77b1a37ec88e5a515498c73eb5551 (patch) | |
tree | 33fc7550fe84438699baebaca89bf836f44fb328 /builtin-rerere.c | |
parent | 1a56be134f9477296a7ade040e8b802bf3a643a1 (diff) | |
parent | aa031314bf8189a15290d5bd0d85fa2a0307ceb7 (diff) | |
download | git-3880c18336a77b1a37ec88e5a515498c73eb5551.tar.gz |
Sync with 1.6.5.5
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rerere.c')
-rw-r--r-- | builtin-rerere.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-rerere.c b/builtin-rerere.c index 343d6cde48..2be9ffb77b 100644 --- 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; |