git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
cc9d4baa0b56e5e26b67e03fee93d89ee7d41b56 blob 483 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
 
#!/bin/sh

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

. ./test-lib.sh

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 &&

	printf "0000" >expect &&
	git upload-pack --stateless-rpc . <request >actual &&

	test_cmp expect actual
'

test_done
debug log:

solving cc9d4baa0b ...
found cc9d4baa0b in https://public-inbox.org/git/20201030223504.45978-1-dan@mutual.io/

applying [1/1] https://public-inbox.org/git/20201030223504.45978-1-dan@mutual.io/
diff --git a/t/t5705-upload-pack-stateless-shallow-eof.sh b/t/t5705-upload-pack-stateless-shallow-eof.sh
new file mode 100755
index 0000000000..cc9d4baa0b

Checking patch t/t5705-upload-pack-stateless-shallow-eof.sh...
Applied patch t/t5705-upload-pack-stateless-shallow-eof.sh cleanly.

index at:
100755 cc9d4baa0b56e5e26b67e03fee93d89ee7d41b56	t/t5705-upload-pack-stateless-shallow-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).