Commit Briefs


49c543a6fe Christian Weisgerber

use test(1) -eq and -ne to compare integers, and reduce quoting

This brings the rest of the regression test scripts in line with patch.sh.




978a28a108 Christian Weisgerber

make "got branch -d" print reference name and value

Also silence output of "got branch -d" in a regression test, from stsp. ok stsp


3379373c62 Christian Weisgerber

use POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ]




99495ddb79 Stefan Sperling

add a 'reference' directive to remote repositories in got.conf(5)

Make use of this in 'got clone' to persist -R option arguments given on the command line in the cloned repository's got.conf(5) file.


98f64f14c3 Stefan Sperling

work around spurious ACK responses from git servers in got-fetch-pack

The Git server can apparently send duplicate ACK responses even though we do not enable the multi_ack capability. According to the Git protocol docs the server should only send ACKs after receiving 'done' from the client if multi_ack has been enabled. However, a duplicate ACK response can be triggered by running 'got fetch -a' in our fetch_update_tag test. This resulted in the following error: got-fetch-pack: unknown side-band received from server got: bad packet received


612392ee9a Stefan Sperling

allow the 'got fetch' -l option together with the -q option

Make use of this in tests to hide useless output from ssh(1).


15d3c221e3 Stefan Sperling

make 'got clone' pin the fetched branch in got.conf(5)

Avoids relying on the server-side HEAD ref by default during future fetches.



54eb00d5be Stefan Sperling

properly handle nonexistent remote repository names given to 'got fetch'

found by jrick ok naddy


f6cae3ed1e Christian Weisgerber

switch function declarations from Korn shell to Bourne/POSIX shell syntax

ok stsp



7fb414ae4d Stefan Sperling

add a -q option to tests for quiet output and use it for 'make regress'

Previous default output remains when test cases are run individually. ok tracey


d7c4e80d2a Stefan Sperling

fix expected output in clone and fetch tests







e8a967e0ca Stefan Sperling

make replacing symrefs actually work in 'got fetch'