Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
rerere.c
diff --git
a/rerere.c
b/rerere.c
index 22996bd08b532fb8016f24391dd0e63010706385..3d00a71ff9730ed4a10114185f4360de698c1fbf 100644
(file)
--- a/
rerere.c
+++ b/
rerere.c
@@
-590,8
+590,7
@@
static int is_rerere_enabled(void)
if (rerere_enabled < 0)
return rr_cache_exists;
- if (!rr_cache_exists &&
- (mkdir(rr_cache, 0777) || adjust_shared_perm(rr_cache)))
+ if (!rr_cache_exists && mkdir_in_gitdir(rr_cache))
die("Could not create directory %s", rr_cache);
return 1;
}