Skip to content

packfile-uris: commits, trees and tags exclusion

Teng Long git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest14 patches 14 repliesIn review
  2. v47 patches 1 replySuperseded

Changes since v5 from the cover letter

* Support tag objects exclusion (configurable but will repeat download object data in previous patch)
* Tests and docs modification for tag exclusion feature
* Abstraction of some reusable methods

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14pack-objects.c: introduce new method `match_packfile_uri_exclusions`builtin/pack-objects.c+21 -120 replies
2/14Add new parameter "carry_data" for "show_object" functionbuiltin/describe.c builtin/pack-objects.c builtin/rev-list.c +4 more+24 -232 replies
3/14packfile-uri: support for excluding commit objectsbuiltin/pack-objects.c list-objects.c object.c +4 more+101 -494 replies
4/14packfile-uri: support for excluding tree objectsbuiltin/pack-objects.c list-objects.c object.c +1 more+55 -260 replies
5/14packfile-uri.txt: support for excluding commits and treesDocumentation/technical/packfile-uri.txt+21 -112 replies
6/14t5702: replace with "test_when_finished" for cleanupt/t5702-protocol-v2.sh+11 -112 replies
7/14t5702: support for excluding commit objectst/t5702-protocol-v2.sh+266 -260 replies
8/14Add new parameter "carry_data" for "show_commit functionbuiltin/describe.c builtin/pack-objects.c builtin/rev-list.c +6 more+17 -170 replies
9/14commit.h: add wrapped tags in commit structcommit.h revision.c+11 -24 replies
10/14object.h: add referred tags in `referred_objects` structobject.c object.h+4 -20 replies
11/14packfile-uri: support for excluding tag objectsbuiltin/pack-objects.c list-objects.c+26 -30 replies
12/14packfile-uri.txt: support for excluding tag objectsDocumentation/technical/packfile-uri.txt+12 -60 replies
13/14t5702: add tag exclusion test caset/t5702-protocol-v2.sh+18 -00 replies
14/14pack-objects.c: introduce `want_exclude_object` functionbuiltin/pack-objects.c+25 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 00/14] packfile-uris: commits, trees and tags exclusion

Changes since v5:

* Support tag objects exclusion (configurable but will repeat download object data in previous patch)
* Tests and docs modification for tag exclusion feature
* Abstraction of some reusable methods

Teng Long (14):
pack-objects.c: introduce new method match_packfile_uri_exclusions Add new parameter "carry_data" for "show_object" function
packfile-uri: support for excluding commit objects
packfile-uri: support for excluding tree objects packfile-uri.txt: support for excluding commits and trees
t5702: replace with "test_when_finished" for cleanup
t5702: support for excluding commit objects
Add new parameter "carry_data" for "show_commit function commit.h: add wrapped tags in commit struct
object.h: add referred tags in referred_objects struct
packfile-uri: support for excluding tag objects packfile-uri.txt: support for excluding tag objects
t5702: add tag exclusion test case
pack-objects.c: introduce want_exclude_object function

 Documentation/technical/packfile-uri.txt |  38 ++-
 builtin/describe.c                       |   8 +-
 builtin/pack-objects.c                   | 128 ++++++---
 builtin/rev-list.c                       |   6 +-
 bundle.c                                 |   4 +-
 commit.h                                 |   5 +
 list-objects.c                           |  50 ++--
 list-objects.h                           |   4 +-
 object.c                                 |  20 +-
 object.h                                 |  16 +-
 pack-bitmap.c                            |  14 +-
 reachable.c                              |   8 +-
 revision.c                               |  42 ++-
 revision.h                               |   3 +
 shallow.c                                |   4 +-
 t/t5702-protocol-v2.sh                   | 330 ++++++++++++++++++++---
 upload-pack.c                            |   7 +
 17 files changed, 542 insertions(+), 145 deletions(-)

Range-diff against v4:

 -:  ---------- >  1:  73a5b4ccc1 pack-objects.c: introduce new method `match_packfile_uri_exclusions`
 -:  ---------- >  2:  bc8fea97e3 Add new parameter "carry_data" for "show_object" function
 -:  ---------- >  3:  f71b310842 packfile-uri: support for excluding commit objects
 -:  ---------- >  4:  bbb0413cc4 packfile-uri: support for excluding tree objects
 -:  ---------- >  5:  8e5bf4010c packfile-uri.txt: support for excluding commits and trees
 -:  ---------- >  6:  f3b1cba7e1 t5702: replace with "test_when_finished" for cleanup
 -:  ---------- >  7:  3b5f9732b8 t5702: support for excluding commit objects
 1:  19f7670384 =  8:  19f7670384 Add new parameter "carry_data" for "show_commit function
 2:  011e5eaea3 =  9:  011e5eaea3 commit.h: add wrapped tags in commit struct
 3:  824844499f = 10:  824844499f object.h: add referred tags in `referred_objects` struct
 4:  43aa811b65 = 11:  43aa811b65 packfile-uri: support for excluding tag objects
 5:  c83db0055c = 12:  c83db0055c packfile-uri.txt: support for excluding tag objects
 6:  29a52b7a0d = 13:  29a52b7a0d t5702: add tag exclusion test case
 7:  1a7c4c5894 = 14:  1a7c4c5894 pack-objects.c: introduce `want_exclude_object` function
Signature · 1 line
2.31.1.456.gec51e24953