refs: use 0666 permissions when writing packed-refs, not 0644 This matches stock Git's behavior.
diff --git a/src/refs.c b/src/refs.c
index 05f9357..4f32f44 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,