Commit Briefs

Stefan Sperling

make tmp dir location a compile-time setting and change gotweb's tmp dir

We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.







Stefan Sperling

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.




Martin Pieuchot

Remove redundant error check after got_object_id_by_path().

An error code is always returned when the oid is NULL.



Tracey Emery

move cmp_tags() into the library



Stefan Sperling

fix 'tog log -c' with tags


Tracey Emery

remove unneeded done jumps





Stefan Sperling

update usage


Stefan Sperling

make got and tog accept a --version argument; -V option is a bit obscure

prompted by a question from tedu@


Stefan Sperling

add -E option to 'got checkout' allowing use of a non-empty work tree path

needed by and ok kn@



Stefan Sperling

simplify got_commit_graph_open()



Stefan Sperling

make 'got checkout' and 'got update' work with read-only repositories

but warn users about the garbage collection problem