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

revert 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491; it broke 'n' (search next)

In the log view, 'n' sometimes failed to search for the next matching commit and tog dead-locked. So a yield or mutex unlock/lock is required for search to work. Perhaps we need a different fix?


Tracey Emery

replace improperly removed break


Tracey Emery

goto done and remove erroneous break


Tracey Emery

enable searching in tog diff view

ok stsp



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.


Martin Pieuchot

Remove double lock in error path.


Martin Pieuchot

Remove unnecessary pthread_yield(3).

In the two cases a context switch isn't necessary as the thread isn't blocked and doesn't need to wait for its sibling.