summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2017-12-05 16:58:43 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-05 09:46:05 -0800
commit75b97fec171dbbf7ec73960cefb50c265cfb7af7 (patch)
treec15613ea262cfa6be8009556d6129898b3b9e9c8 /cache.h
parentrev-list: support --no-filter argument (diff)
downloadtgif-75b97fec171dbbf7ec73960cefb50c265cfb7af7.tar.xz
extension.partialclone: introduce partial clone extension
Introduce new repository extension option: `extensions.partialclone` See the update to Documentation/technical/repository-version.txt in this patch for more information. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 6440e2bf21..35e3f5ed5f 100644
--- a/cache.h
+++ b/cache.h
@@ -860,10 +860,12 @@ extern int grafts_replace_parents;
#define GIT_REPO_VERSION 0
#define GIT_REPO_VERSION_READ 1
extern int repository_format_precious_objects;
+extern char *repository_format_partial_clone;
struct repository_format {
int version;
int precious_objects;
+ char *partial_clone; /* value of extensions.partialclone */
int is_bare;
char *work_tree;
struct string_list unknown_extensions;