Commits


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@


always show commit or tree IDs in diff header, in order to help 'got patch' The idea is that got patch can simply look for a line such as: commit - abcde1234567... to find the merge base commit ID to show in diff3 conflict markers. got log -p now displays commit IDs in its diff header, instead ofl tree or blob IDs. ok 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.


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


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


add quotes around $GOT_TEST_ROOT and avoid mktemp -p; suggested by naddy


allow regress test data to be stored in locations other than /tmp


switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp


add a -q option to tests for quiet output and use it for 'make regress' Previous default output remains when test cases are run individually. ok tracey


add symlink support to 'got import'


rename 'got init' and 'got import' default branch to "main"; patch by kmos@


show file mode differences when diffing trees


handle empty trees during 'import' and 'checkout'; spotted by sthen@


make 'got log -p path' display patches for the specified path only


fix empty variable in two import regress tests