Commit 7096d0f9 by Brodie Rao

refs: use 0666 permissions when writing packed-refs, not 0644

This matches stock Git's behavior.
parent a15c550d
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#define MAX_NESTING_LEVEL 5 #define MAX_NESTING_LEVEL 5
#define GIT_PACKED_REFS_FILE_MODE 0644 #define GIT_PACKED_REFS_FILE_MODE 0666
enum { enum {
GIT_PACKREF_HAS_PEEL = 1, GIT_PACKREF_HAS_PEEL = 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment