Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t5554-noop-fetch-negotiator.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t5554-noop-fetch-negotiator.sh` 23 lines ยท 495 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='test noop fetch negotiator' 4 5 . ./test-lib.sh 6 7 test_expect_success 'noop negotiator does not emit any "have"' ' 8 rm -f trace && 9 10 test_create_repo server && 11 test_commit -C server to_fetch && 12 13 test_create_repo client && 14 test_commit -C client we_have && 15 16 test_config -C client fetch.negotiationalgorithm noop && 17 GIT_TRACE_PACKET="$(pwd)/trace" git -C client fetch "$(pwd)/server" && 18 19 test_grep ! "fetch> have" trace && 20 test_grep "fetch> done" trace 21 ' 22 23 test_done