Commits


be helpful when users try to check out work trees without a known branch Provide a useful error message in such cases and explicitly document intentional restrictions in the got(1) man page. Prompted by a question from Adam Steen via bsd.network https://bsd.network/@adams/103768951483318235


add -E option to 'got checkout' allowing use of a non-empty work tree path needed by and ok kn@


make 'got checkout' and 'got update' work with read-only repositories but warn users about the garbage collection problem


detect and ignore Git submodules


add support for tags to -c options of some got commands


remove test_checkout_sets_xbit duplicate added in previous


fix 'got checkout' into existing directory; add test cases for this


make 'got checkout' verify that specified branch and commit match


use cmp -s, instead of cmp, in all command line tests


properly deal with "$?" in cmdline tests; fixes spurious test "ok"


preserve executable bit on files during checkout and update


don't clobber cmp's exit code with diff's exit code


trim whitespace and remove a useless comment


add a command line test suite with a simple 'got checkout' test