Commits


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.


fix 'got blame' and 'tog blame' on files added on worktree's current branch


perform the check for an empty histedit commit list earlier


don not open log message editor if there are no changes during 'histedit -c'


display branch name and first commit to be edited at top of histedit script


improve wording of hint displayed for the histedit 'fold' command


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.


make 'got log' show first-parent history by default; remove -f and add -b option


do not display unversioned files during 'got revert -R'


Remove redundant error check after got_object_id_by_path(). An error code is always returned when the oid is NULL.


move got_repo_cmp_tags() to got_ref_cmp_tags()


move cmp_tags() into the library


move match_object_id() into the library; supersedes got_repo_resolve_commit_arg


fix 'tog log -c' with tags


remove unneeded done jumps


support Git-style "lightweight" tags as arguments for 'got diff'


handle Git-style "lightweight" tags in got tag -l


unbreak got and tog commands by disabling GNU extensions in getopt_long(3)


update usage


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@


add copyright year for files already touched in 2020


simplify got_commit_graph_open()


remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead


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