Thread View: linux.kernel.git
1 messages
1 total messages
Started by Junio C Hamano
Sun, 18 Oct 2026 01:19
Re: [PATCH v2 2/2] odb: ignore refs of shallow and grafted alternates
Author: Junio C Hamano
Date: Sun, 18 Oct 2026 01:19
Date: Sun, 18 Oct 2026 01:19
32 lines
10857 bytes
10857 bytes
Igor Wiedler <iwiedler@gitlab.com> writes: > diff --git a/t/t5618-alternate-refs.sh b/t/t5618-alternate-refs.sh > index 4cc39af0f0..9c3862709a 100755 > --- a/t/t5618-alternate-refs.sh > +++ b/t/t5618-alternate-refs.sh > @@ -70,4 +70,17 @@ test_expect_success 'connectivity check of a deepening fetch excludes alternate > --alternate-refs --quiet <deepen.trace > ' > > +test_expect_success 'refs of a shallow alternate are ignored' ' > + git clone --depth=1 "file://$TRASH_DIRECTORY" "$TRASH_DIRECTORY/shallow" && > + test_commit -C "$TRASH_DIRECTORY/shallow" shallow-only && > + git -C "$TRASH_DIRECTORY/shallow" rev-parse HEAD >shallow-tip && > + cp .git/objects/info/alternates alternates.bak && > + test_when_finished "mv alternates.bak .git/objects/info/alternates" && > + echo "$TRASH_DIRECTORY/shallow/.git/objects" >>.git/objects/info/alternates && > + git cat-file -e $(cat shallow-tip) && > + git rev-list --remotes=origin >expect && > + git rev-list --alternate-refs >actual && > + test_cmp expect actual > +' This seems to break CI only on Windows https://github.com/git/git/actions/runs/39084117165/job/117547610467#step:5:279 https://github.com/git/git/actions/runs/39084117165/job/117547743280#step:6:272 I'll eject the topic from 'seen' for now. Thanks.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads