Commit Briefs
fix a bug where 'got log PATH' failed to map PATH into the repository
The problem occured inside /usr/src/sys due to the /sys symlink, where /usr/src was a got work tree. If a work tree is present we already have the right path so checking the disk is pointless.
Remove redundant error check after got_object_id_by_path().
An error code is always returned when the oid is NULL.
make got and tog accept a --version argument; -V option is a bit obscure
prompted by a question from tedu@
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