Commits


fix sending merge commits; with a regression test by James Cook


show full URL during got clone/fetch/send discussed with and ok jamsek, stsp


got send: show server error Print the error message reported by the remote server when failing to update a branch (for e.g. because of a server-side check.) Reported by gonzalo@, with help and ok stsp@.


remove trailing whitespace; patch by Josiah Frentsos


move 'got init' command to 'gotadmin init' This functionality is better suited for gotadmin because it is technically a server-side repository operation when we consider the 'got' tool as the client-side tool. I have plans to move 'got import' into gotadmin as well. ok op@


set `ret' in a few places where it was forgotten; ok tracey@


don't pass $ret to test_done on failure when it's known to be zero Otherwise the test directory it's not left in place; ok tracey@


fix a bug in findwixt() which caused pack files with missing parent commits The 'nskip' variable is supposed to reflect commits which are waiting on the queue and have the 'skip' color. Only increment 'nskip' when adding such commits to the queue. Problem observed with got send -T and a tag pointing to a deleted branch. Test to reproduce the bug written by op@.


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.


fix regression where 'got send -T' failed if same tag already exists on server Problem reported and fix tested by Omar Polo.


fix 'got send' with tree objects which contain symlinks; reported by Omar


make 'got send' regression tests run 'git fsck' on all involved repositories


fix another instance of 'got send' sending branches the server already has


make 'got send' properly send commits which are referenced only by tags Problem reported by Omar Polo.


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