Commit Briefs


a2f4a3591f Stefan Sperling

properly free cmd_argv in tog's main() function


dfd6c25013 Stefan Sperling

fix typo in comment; found by mpi@


09b5bff804 Christian Weisgerber

switch "tog diff" repository path argument to a new -r option


a273ac941f Christian Weisgerber

fix "tog diff object1 object2" by actually extracting the repository path

from the work tree




e4a0e26d95 Stefan Sperling

prevent possible double-free introduced in previous commit


55cccc343d Stefan Sperling

add an optional path argument to 'tog tree'



cb1159f83b Stefan Sperling

fix misplaced tog search prompt in split-screen views


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




82954512f3 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?


f5404e4ea4 Tracey Emery

replace improperly removed break


3ffacbe1f6 Tracey Emery

goto done and remove erroneous break


f44b1f585d Tracey Emery

enable searching in tog diff view

ok stsp



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.




b55e96cf8f Martin Pieuchot

Remove redundant error check after got_object_id_by_path().

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


a93813face Martin Pieuchot

Remove double lock in error path.


6b8a2b8fcd 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.