connected: fix the connectivity check with alternates in deepening fetches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 4 repliesIn review
- v22 patches 6 repliesSuperseded
Changes in v3 from the cover letter
* The shallow alternate test wrote $TRASH_DIRECTORY into objects/info/alternates, which git on Windows cannot resolve. It now uses Peff's version with $(pwd) and relative paths.
* The trace tests use $(pwd) instead of $PWD.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | connected: negate alternate refs in deepening fetches tooconnected.c t/ | +16 | 0 replies | |
| 2/2 | odb: ignore refs of shallow and grafted alternatesDocumentation/ odb.c t/ | +28 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Patrick Steinhardt | Junio C Hamano | Jeff King |
|---|---|---|---|
| 1/2 | Helped-by | Helped-by | |
| 2/2 | Helped-by | Helped-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/2] connected: fix the connectivity check with alternates in deepening fetches
In a deepening fetch the connectivity check passes "--alternate-refs" as a positive revision and walks the alternate's whole history. With a 7M-object alternate that takes 227s after a fetch of an empty pack.
Changes since v2:
* The shallow alternate test wrote $TRASH_DIRECTORY into objects/info/alternates, which git on Windows cannot resolve. It now uses Peff's version with $(pwd) and relative paths.
* The trace tests use $(pwd) instead of $PWD.
No code changes.
v2: https://lore.kernel.org/git/[email protected]/
v1: https://lore.kernel.org/git/[email protected]/
Igor Wiedler (2):
connected: negate alternate refs in deepening fetches too
odb: ignore refs of shallow and grafted alternates
Documentation/rev-list-options.adoc | 7 ++++--- connected.c | 6 ++++-- odb.c | 11 +++++++++++ t/t5618-alternate-refs.sh | 25 +++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 5 deletions(-)
base-commit: 6de20f6092dcf9bdb1c8efe03db4b70c82b423dd
Signature · 1 line
2.56.0