aboutsummaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-04-24 17:01:21 +0700
committerJunio C Hamano <gitster@pobox.com>2017-04-24 21:28:55 -0700
commit0d8a814d8ac6b18834def72912781ce6fe45fa89 (patch)
tree205dad0963aa605c155f35861b6d8a49f0360cc1 /refs.c
parent0c064d907b5d96cb4f68c9f1f3214b115d43436e (diff)
downloadgit-0d8a814d8ac6b18834def72912781ce6fe45fa89.tar.gz
git-0d8a814d8ac6b18834def72912781ce6fe45fa89.tar.xz
refs: add REFS_STORE_ALL_CAPS
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/refs.c b/refs.c
index 96eba9247..6e6f0ec5b 100644
--- a/refs.c
+++ b/refs.c
@@ -1526,11 +1526,7 @@ struct ref_store *get_main_ref_store(void)
if (main_ref_store)
return main_ref_store;
- main_ref_store = ref_store_init(get_git_dir(),
- (REF_STORE_READ |
- REF_STORE_WRITE |
- REF_STORE_ODB |
- REF_STORE_MAIN));
+ main_ref_store = ref_store_init(get_git_dir(), REF_STORE_ALL_CAPS);
return main_ref_store;
}