Commit Briefs


e801a56632 Stefan Sperling

update usage


83cd27f841 Stefan Sperling

make got and tog accept a --version argument; -V option is a bit obscure

prompted by a question from tedu@


bb51a5b4af Stefan Sperling

add -E option to 'got checkout' allowing use of a non-empty work tree path

needed by and ok kn@


5aa813935b Stefan Sperling

add copyright year for files already touched in 2020


3d5092374a Stefan Sperling

simplify got_commit_graph_open()



7f47418fd4 Stefan Sperling

make 'got checkout' and 'got update' work with read-only repositories

but warn users about the garbage collection problem



70e3e7f5a1 Tracey Emery

add -k option to 'got remove' to keep files on disk

ok stsp



f2a9dc41d8 Tracey Emery

add -R option to 'got remove' for recursive deletion

ok stsp


6db9f7f6b1 Stefan Sperling

always show numeric dates in ISO-8601/xkcd-1179 format

ok millert tracey sthen


463a997a86 Klemens Nanni

got: start_commit and search_pattern ought to be const

Revert the last accidential revert; sorry for the noise, I fat fingered got commands while juggling diffs.



a2687442f1 Klemens Nanni

got: start_commit and search_pattern ought to be const

Must not be passed to free(3), holds argv[] input.


45e9b85069 Klemens Nanni

got: start_commit and search_pattern ought to be const

Must not be passed to free(3), holds argv[] input.


dfcab68b1f Klemens Nanni

diff: Allow 0 context, use GOT_DIFF_MAX_CONTEXT


dc1edbfa7b Klemens Nanni

log: -C requires -p

"got log -C0" is invalid synopsis, so behave accordingly.


6841bf1343 Klemens Nanni

log: Implement -s search-pattern

match_logmsg() is copied from tog's match_commit().


38b0338bf9 Stefan Sperling

if there are no commits to rebase, just forward the rebased branch's reference

Problem found by kn@


bd5895f372 Stefan Sperling

Outright forbid reference names with a leading '-'.

Matches behaviour documented in git-repository(5).


e560b7e0e2 Stefan Sperling

prevent 'got import' from creating a branch called "-"


56e0773df7 Stefan Sperling

convert tree entries from SIMPLEQ to an array