summaryrefslogtreecommitdiff
path: root/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'repository.h')
-rw-r--r--repository.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/repository.h b/repository.h
index 6c461c5b9d..7ce4b8a962 100644
--- a/repository.h
+++ b/repository.h
@@ -62,6 +62,12 @@ struct repo_path_cache {
char *shallow;
};
+enum ref_format_flags {
+ REF_FORMAT_FILES = (1 << 0),
+ REF_FORMAT_PACKED = (1 << 1),
+ REF_FORMAT_PACKED_V2 = (1 << 2),
+};
+
struct repository {
/* Environment */
/*
@@ -96,6 +102,7 @@ struct repository {
* the ref object.
*/
struct ref_store *refs_private;
+ enum ref_format_flags ref_format;
/*
* Contains path to often used file names.