summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-07-24 21:50:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-24 21:50:47 (GMT)
commit8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc (patch)
tree4885e60c44a6e2ad259ca43986cb5fed9d01499d /revision.h
parent7633ff48ed3ee942cb9c1d233b41ef3a2676cb8a (diff)
parenta7e67c11b8b983b4a9f56f0b8990a550946ed6b0 (diff)
downloadgit-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.zip
git-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.tar.gz
git-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.tar.bz2
Merge branch 'jt/partial-clone-fsck-connectivity'
Partial clone support of "git clone" has been updated to correctly validate the objects it receives from the other side. The server side has been corrected to send objects that are directly requested, even if they may match the filtering criteria (e.g. when doing a "lazy blob" partial clone). * jt/partial-clone-fsck-connectivity: clone: check connectivity even if clone is partial upload-pack: send refs' objects despite "filter"
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h
index bf2239f..c599c34 100644
--- a/revision.h
+++ b/revision.h
@@ -20,8 +20,9 @@
#define SYMMETRIC_LEFT (1u<<8)
#define PATCHSAME (1u<<9)
#define BOTTOM (1u<<10)
+#define USER_GIVEN (1u<<25) /* given directly by the user */
#define TRACK_LINEAR (1u<<26)
-#define ALL_REV_FLAGS (((1u<<11)-1) | TRACK_LINEAR)
+#define ALL_REV_FLAGS (((1u<<11)-1) | USER_GIVEN | TRACK_LINEAR)
#define DECORATE_SHORT_REFS 1
#define DECORATE_FULL_REFS 2