Commit Briefs

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


fb9704afe0 Stefan Sperling

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


bded54978e Tracey Emery

small css fixup



ac9e7fddf6 Tracey Emery

create temporary workaround to opening /dev/null during diffing.

this will need to be reworked later. ok stsp




05ce9a7981 Tracey Emery

show diff if we're diffing to a root commit


65559f29d0 Tracey Emery

html escape diff output


2ac037ec8b Tracey Emery

whoops, fix reversed diffs


90f16cb896 Tracey Emery

clean up gw_get_diff function


f2f466625c Tracey Emery

complete gotweb refactor


b55e96cf8f Martin Pieuchot

Remove redundant error check after got_object_id_by_path().

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