Commits


document that 'got clone -a' sets 'fetch-all-branches' in got.conf(5)


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.


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


store all branches passed via 'got clone -b' in got.conf(5) and git-config(1)


silence a printf in our gitconfig parser; this code shouldn't print to stdout


allow the 'got fetch' -l option together with the -q option Make use of this in tests to hide useless output from ssh(1).


make 'got clone' pin the fetched branch in got.conf(5) Avoids relying on the server-side HEAD ref by default during future fetches.


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


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


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


use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA


bump version number


CHANGES for 0.47


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.


fix tag object leak introduced in previous commit


add tagged object IDs to reference list object ID map Fixes display of "/tags/..." commit ID decorators in tog which was broken in previous commits.


fix error return from got_reflist_object_id_map_create()


rename got_reflist_object_map_free to got_reflist_object_id_map_free


remove a comment that is now misleading


switch reflist to TAILQ; insert elements more efficiently for sorted input ok naddy


switch the "tog <path>" log view shortcut to the global reference list, too ok stsp


Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags' Make use of this where possible to avoid re-reading references from disk. ok naddy


switch tog ref view to the global reference list as well ok naddy


make tog store refs and object id map in global variables instead of per view ok naddy


update got.1 CAVEATS section; prompted by feedback from otto@