git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
f8385a7ebdd9fbae49137435be80c98a201e6bd3 blob 530 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

D=$(pwd)

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

	printf "%04xwant %s\n%04xshallow %s\n000ddeepen 1\n0000" \
		$(($hexsz + 10)) $head $(($hexsz + 13)) $head >request &&

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

	printf "0000" >expect &&

	test_cmp expect actual
'

test_done
debug log:

solving 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/2] 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

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).