summaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-04-24 10:01:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-25 04:28:55 (GMT)
commit0d8a814d8ac6b18834def72912781ce6fe45fa89 (patch)
tree205dad0963aa605c155f35861b6d8a49f0360cc1 /refs
parent0c064d907b5d96cb4f68c9f1f3214b115d43436e (diff)
downloadgit-0d8a814d8ac6b18834def72912781ce6fe45fa89.zip
git-0d8a814d8ac6b18834def72912781ce6fe45fa89.tar.gz
git-0d8a814d8ac6b18834def72912781ce6fe45fa89.tar.bz2
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')
-rw-r--r--refs/refs-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 6904986..b26f7e4 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -467,6 +467,10 @@ struct ref_store;
#define REF_STORE_WRITE (1 << 1) /* can perform update operations */
#define REF_STORE_ODB (1 << 2) /* has access to object database */
#define REF_STORE_MAIN (1 << 3)
+#define REF_STORE_ALL_CAPS (REF_STORE_READ | \
+ REF_STORE_WRITE | \
+ REF_STORE_ODB | \
+ REF_STORE_MAIN)
/*
* Initialize the ref_store for the specified gitdir. These functions