summaryrefslogtreecommitdiffstats
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-13 22:39:03 +0100
committerJunio C Hamano <gitster@pobox.com>2018-02-13 22:39:03 +0100
commitf3d618d2bf4099abe99babc8b56dcd483c5eec71 (patch)
tree3e906f2c4a72698cf5865016b5d652047d8260a0 /revision.h
parentMerge branch 'ab/simplify-perl-makefile' (diff)
parentgc: do not repack promisor packfiles (diff)
downloadgit-f3d618d2bf4099abe99babc8b56dcd483c5eec71.tar.xz
git-f3d618d2bf4099abe99babc8b56dcd483c5eec71.zip
Merge branch 'jh/fsck-promisors'
In preparation for implementing narrow/partial clone, the machinery for checking object connectivity used by gc and fsck has been taught that a missing object is OK when it is referenced by a packfile specially marked as coming from trusted repository that promises to make them available on-demand and lazily. * jh/fsck-promisors: gc: do not repack promisor packfiles rev-list: support termination at promisor objects sha1_file: support lazily fetching missing objects introduce fetch-object: fetch one promisor object index-pack: refactor writing of .keep files fsck: support promisor objects as CLI argument fsck: support referenced promisor objects fsck: support refs pointing to promisor objects fsck: introduce partialclone extension extension.partialclone: introduce partial clone extension
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/revision.h b/revision.h
index d7a35c8c9e..3dee97bfb9 100644
--- a/revision.h
+++ b/revision.h
@@ -122,7 +122,10 @@ struct rev_info {
ancestry_path:1,
first_parent_only:1,
line_level_traverse:1,
- tree_blobs_in_commit_order:1;
+ tree_blobs_in_commit_order:1,
+
+ /* for internal use only */
+ exclude_promisor_objects:1;
/* Diff flags */
unsigned int diff:1,