diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-07-24 14:50:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-24 14:50:47 -0700 |
commit | 8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc (patch) | |
tree | 4885e60c44a6e2ad259ca43986cb5fed9d01499d /revision.h | |
parent | 7633ff48ed3ee942cb9c1d233b41ef3a2676cb8a (diff) | |
parent | a7e67c11b8b983b4a9f56f0b8990a550946ed6b0 (diff) | |
download | git-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.tar.gz |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h index bf2239f876..c599c34da9 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 |