git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 09a8f0d60860a92fc08f1fb6849ba4f524ea6845 484 bytes (raw)
name: t/t5554-null-fetch-negotiator.sh 	 # note: path name is non-authoritative(*)

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

test_description='test null fetch negotiator'
. ./test-lib.sh

test_expect_success 'null negotiator does not emit any "have"' '
	rm -f trace &&

	test_create_repo server &&
	test_commit -C server to_fetch &&

	test_create_repo client &&
	test_commit -C client we_have &&

	test_config -C client fetch.negotiationalgorithm null &&
	GIT_TRACE_PACKET="$(pwd)/trace" git -C client fetch "$(pwd)/server" &&

	! grep "fetch> have" trace &&
	grep "fetch> done" trace
'

test_done

debug log:

solving 09a8f0d608 ...
found 09a8f0d608 in https://public-inbox.org/git/78d47204044dbe650cc782001de793a7cdf85692.1596590295.git.jonathantanmy@google.com/ ||
	https://public-inbox.org/git/35bdd372ae3691f54775dd616576e8ed6d68f1d3.1597184949.git.jonathantanmy@google.com/

applying [1/1] https://public-inbox.org/git/78d47204044dbe650cc782001de793a7cdf85692.1596590295.git.jonathantanmy@google.com/
diff --git a/t/t5554-null-fetch-negotiator.sh b/t/t5554-null-fetch-negotiator.sh
new file mode 100755
index 0000000000..09a8f0d608

Checking patch t/t5554-null-fetch-negotiator.sh...
Applied patch t/t5554-null-fetch-negotiator.sh cleanly.

skipping https://public-inbox.org/git/35bdd372ae3691f54775dd616576e8ed6d68f1d3.1597184949.git.jonathantanmy@google.com/ for 09a8f0d608
index at:
100755 09a8f0d60860a92fc08f1fb6849ba4f524ea6845	t/t5554-null-fetch-negotiator.sh

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public 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).