Commit Briefs

56b63ca4ab Stefan Sperling

make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere

ok millert, naddy



a06ff56fe6 Christian Weisgerber

fix a use after free()

ok jrick stsp





79775c2f00 Stefan Sperling

fix copy-pasta in test_update_single_file


194cb7cb2a Stefan Sperling

fix bug where 'got up -c commit path' deleted unrelated files from work tree

Problem reported by Timo Myyrä


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.


1255c02f3e Stefan Sperling

remove 'tog ref' todo item; pointed out by naddy



0c8b29c506 Stefan Sperling

add a 'fetch-all-branches' configuration setting to got.conf(5)

Set fetch-all-branches in the got.conf(5) file created by 'got clone -a' in order to make a future 'got fetch' act like 'got fetch -a' by default.


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.


7a90b6809c Christian Weisgerber

oops, initialize linesize before calling getline(3); from millert


9bdd68dd5c Christian Weisgerber

replace fparseln(3) with getline(3), for better portability

ok stsp


e6b8b8905c Christian Weisgerber

tog log: terminate author field at '>' in case there is no '@'

ok stsp



c80f5f0109 Stefan Sperling

bump version number


1252b141a2 Stefan Sperling

CHANGES for 0.47 (tags/0.47)


888b7d9932 Stefan Sperling

make use of a reflist object id map in 'got log'

Impoves performance of 'got log' on the FreeBSD Git repo which can easily contain more than 4000 references.


f0ff8d4c1b Stefan Sperling

fix tag object leak introduced in previous commit