Commit Briefs



55e54fd34a Stefan Sperling

remove a Makefile chunk which is obsolete since bb5b19e3






390d412cad Stefan Sperling

plug memory leaks in error cases of gw_diff()


ae36ed87ca Stefan Sperling

ensure that header->refs is always initialized


6d9fc69250 Stefan Sperling

plug memory leaks in error cases of gw_blame()


c25c2314bd Stefan Sperling

make gotweb check for kcgi errors where feasible


bb5b19e3e7 Stefan Sperling

ensure that we always install static binaries to gotweb's chroot

Compile static libexec binaries for gotweb, keeping them separate from the main build. Use the same source files but a separate set of Makefiles. Previously, 'make web-install' installed whichever libexec binaries had already been built, and if those happened to be dynamically linked they failed to run inside the chroot which resulted in "privsep peer process closed pipe" being rendered on the index page.


a46b9f33fb Stefan Sperling

fix a bug where 'got revert -R' failed on added subtrees

The command could fail with "got: no such entry found in tree". This problem is reproduced by the regression test added in this commit. This happened because file index entries were processed in the wrong order by diff_fileindex_dir(). To fix this, keep removed entries in the RB tree and skip them when the file index is written out, rather than removing entries from the RB tree immediately causing side-effects for RB_NEXT and friends.



43d8c06e24 Stefan Sperling

link just gotweb with kcgi, not the libexec helpers




e09ede37f2 Stefan Sperling

document that slowcgi(8) is needed for gotweb, too



e83c06347d Stefan Sperling

remove pointless cwd checking from got_repo_map_path()


f43793a4e6 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.


1137e0aea6 Stefan Sperling

man page wording tweaks




74daf7cb6b Stefan Sperling

fix typo in got(1) man page markup