summaryrefslogtreecommitdiff
path: root/src/refs.c
diff options
context:
space:
mode:
authorBrodie Rao <brodie@bitheap.org>2011-11-16 11:36:13 -0800
committerBrodie Rao <brodie@bitheap.org>2011-11-16 11:36:13 -0800
commit7096d0f9e47d39a8fd4f315a7633f3b86a7d6c93 (patch)
treed1024d897daa8fe1c68076e28829141e344bfa35 /src/refs.c
parenta15c550db8b0552902e58c9bf2194005fb7fb0e9 (diff)
downloadlibgit2-7096d0f9e47d39a8fd4f315a7633f3b86a7d6c93.tar.gz
refs: use 0666 permissions when writing packed-refs, not 0644
This matches stock Git's behavior.
Diffstat (limited to 'src/refs.c')
-rw-r--r--src/refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c
index 05f935796..4f32f4400 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -16,7 +16,7 @@
#define MAX_NESTING_LEVEL 5
-#define GIT_PACKED_REFS_FILE_MODE 0644
+#define GIT_PACKED_REFS_FILE_MODE 0666
enum {
GIT_PACKREF_HAS_PEEL = 1,