diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-12-05 16:58:43 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-05 09:46:05 -0800 |
commit | 75b97fec171dbbf7ec73960cefb50c265cfb7af7 (patch) | |
tree | c15613ea262cfa6be8009556d6129898b3b9e9c8 /cache.h | |
parent | rev-list: support --no-filter argument (diff) | |
download | tgif-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |