summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
authorBrodie Rao <brodie@bitheap.org>2011-11-16 11:39:03 -0800
committerBrodie Rao <brodie@bitheap.org>2011-11-16 11:39:03 -0800
commit9788e72ad4443dbcaa7aef92f09aaba7ffc3a98b (patch)
tree73bcdc93754b76bd37e33342c926e10dbcc4b4d6 /src/refs.h
parent7096d0f9e47d39a8fd4f315a7633f3b86a7d6c93 (diff)
downloadlibgit2-9788e72ad4443dbcaa7aef92f09aaba7ffc3a98b.tar.gz
refs: move GIT_PACKED_REFS_FILE_MODE to refs.h as GIT_PACKEDREFS_FILE_MODE
This groups the #define with the other ref-related file modes, and it makes the name consistent with the other packed-refs definitions.
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h
index 02e336e54..c90f5bcc4 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -24,6 +24,7 @@
#define GIT_SYMREF "ref: "
#define GIT_PACKEDREFS_FILE "packed-refs"
#define GIT_PACKEDREFS_HEADER "# pack-refs with: peeled "
+#define GIT_PACKEDREFS_FILE_MODE 0666
#define GIT_HEAD_FILE "HEAD"
#define GIT_FETCH_HEAD_FILE "FETCH_HEAD"