Commits


be nice to unaware users who attempt to use got commands with a Git work tree


make 'got fetch' restore our copy of the remote HEAD if the copy was deleted


make 'got fetch -d' delete branches from both refs/heads and refs/remotes


make 'got fetch' update our copy of the remote HEAD in case it has changed


make 'got clone' create refs/remotes/origin/HEAD, as 'git clone' does


make got tree work on current branch and add tests for this use case ok stsp


wrap overlong line in got.c


remove redundant \n from errx() calls in got.c


allow for limiting output of 'got ref -l' to a single ref or a namespace


add -c option to 'got ref' which now expects just one argument after options


check tags for equality before complaining about rejected tag updates


make replacing symrefs actually work in 'got fetch'


properly lock references when 'got fetch' needs to update them


add support for fetching arbitrary references to 'got clone' and 'got fetch'


prevent existing tags from being overwritten by 'got fetch' by default