Commits


make 'got update' display the worktree's branch name upon success ok tracey


validate status codes given to 'got status -S'


make got status -s and -S options conflict


make 'got checkout' display the checked out reference and commit ID ok tracey


add suppress status-code selection to got status. this allows for a quick way to clean output without the use of ignore files. ok stsp


add -q quiet mode to checkout and update. supressing output keeps the terminal responsive on large repos. ok jrick stsp


fix a null-pointer deref in 'got fetch -d'; reported by Omar Polo


rename got_fetch_parse_uri() to got_dial_parse_uri() This function is now being used by both 'got fetch' and 'got send' so its former name was misleading.


move duplicated dial_ssh() and dial_git() functions into a common file These functions are used by 'got send' and 'got fetch' in order to open network connections to a server. Move them into new file lib/dial.c and declare relevant functions in got_dial.h and lib/got_lib_dial.h. No functional change.


indentation fixes


make "got branch -d" print reference name and value Also silence output of "got branch -d" in a regression test, from stsp. ok stsp


sys/param.h is not needed


remove ancestry sanity checks from 'got cherrypick' and 'got backout' While these checks might catch usage mistakes the performance overhead of scanning the entire history of the current branch is not worth it. Measurements provided by naddy, cherrypicking 5 commits of OpenBSD's src repository in usr.bin/rsync: Before: 5m50.33s real 4m02.36s user 2m04.41s system After: 1m04.92s real 0m28.24s user 0m36.54s system Further performance improvements could be needed but this is a first step.


make 'got send' heed the branch {} options in got.conf(5); they were ignored ok naddy


provide separate send {} and fetch {} configuration blocks in got.conf Feature requested by naddy. ok naddy, who also suggested some tweaks that will arrive shortly