git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
1108401e8fbb802b557d873f894466f27b099ad0 blob 501 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
#!/bin/sh

test_description='stateless upload-pack gently handles EOF just after want/shallow/depth/flush'

. ./test-lib.sh

D=$(pwd)

test_expect_success 'upload-pack outputs flush and exits ok' '
	test_commit initial &&
	head=$(git rev-parse HEAD) &&

	{
		packetize "want $head" &&
		packetize "shallow $head" &&
		packetize "deepen 1" &&
		printf "0000"
	} >request &&

	git upload-pack --stateless-rpc "$(pwd)" <request >actual &&

	printf "0000" >expect &&

	test_cmp expect actual
'

test_done
debug log:

solving 1108401e8f ...
found 1108401e8f in https://public-inbox.org/git/20201030044012.GA3259692@coredump.intra.peff.net/
retrying f8385a7ebd as f8385a7eb
retrying f8385a7eb as f8385a7e
retrying f8385a7e as f8385a7
found f8385a7 in https://public-inbox.org/git/1604022059-18527-1-git-send-email-dan@mutual.io/ ||
	https://public-inbox.org/git/CANo+1gtVRj30-JNPFpqc_m3BSEFzcb8-T+-uJTFvnNuBZYYxQQ@mail.gmail.com/

applying [1/3] https://public-inbox.org/git/1604022059-18527-1-git-send-email-dan@mutual.io/
diff --git a/t/t9904-upload-pack-stateless-timely-eof.sh b/t/t9904-upload-pack-stateless-timely-eof.sh
new file mode 100755
index 0000000..f8385a7

Checking patch t/t9904-upload-pack-stateless-timely-eof.sh...
Applied patch t/t9904-upload-pack-stateless-timely-eof.sh cleanly.

skipping https://public-inbox.org/git/CANo+1gtVRj30-JNPFpqc_m3BSEFzcb8-T+-uJTFvnNuBZYYxQQ@mail.gmail.com/ for f8385a7
index at:
100755 f8385a7ebdd9fbae49137435be80c98a201e6bd3	t/t9904-upload-pack-stateless-timely-eof.sh

applying [2/3] https://public-inbox.org/git/20201030044012.GA3259692@coredump.intra.peff.net/
diff --git a/t/t9904-upload-pack-stateless-timely-eof.sh b/t/t9904-upload-pack-stateless-timely-eof.sh
index f8385a7ebd..1108401e8f 100755

Checking patch t/t9904-upload-pack-stateless-timely-eof.sh...
Applied patch t/t9904-upload-pack-stateless-timely-eof.sh cleanly.

index at:
100755 1108401e8fbb802b557d873f894466f27b099ad0	t/t9904-upload-pack-stateless-timely-eof.sh

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).