Commit Briefs

da76b65174 Mark Jamsek

zap trailing whitespace


a755a22cd4 Omar Polo

another memcmp -> got_object_id_cmp


7f959095d8 Omar Polo

use got_object_id_cmp instad of memcmp where possible in object_parse.c

ok stsp@


c4d35c5bb4 Omar Polo

typo in comment

it serializes the struct got_imsg_tree_entry, not tree_object. grep aid.


0c091d87ab Stefan Sperling

add test coverage for new 'got fetch' default behaviour


ddb2df58a3 Mark Jamsek

got: make fetch default to the work tree's current branch

As per stsp's todo item, if invoked in a work tree, make 'got fetch' default to fetching the work tree's current branch instead of the branch pointed to by the remote repository's HEAD. ok stsp@ and op@


e1ecf949b9 Omar Polo

add a few TODOs for got patch and gotwebd


472dfe0529 Omar Polo

got_imsg_commit_object: use struct instead of buffer for id

ok stsp@


7841c0d12f Omar Polo

got_imsg_object: use struct instead of buffer for id

ok stsp@


39958d0b3e Omar Polo

cleanup.sh: use `rm -f' to avoid prompting, packfiles are now read-only

ok stsp@


427f294cd8 Omar Polo

got_imsg_send_remote_ref: use struct instead of buffer for id

ok stsp@


5eb14fb9ce Omar Polo

got_imsg_send_ref: use struct instead of buffer for id

ok stsp@


0701e66c20 Omar Polo

got_imsg_fetch_ref: use struct instead of buffer for id

ok stsp@


4b4da3bbc7 Omar Polo

got_imsg_fetch_have_ref: use struct instead of buffer for id

ok stsp@


839bbaae43 Omar Polo

gotd, gotadmin: install packfiles and index files as 0444

gotd used 0600 (due to mkstemps(3)), gotadmin 0644; change it to 0444 since packfiles shouldn't change once created. Mirrors what git does. ok stsp@


d627976f5c Mark Jamsek

tog: add horizontal scroll support to the tree view

Suggested by op. tog now supports hscroll in all views so move corresponding keymap docs in tog(1) to global space (this was already the case in tog runtime help). While here, remove some copypasta with a new subroutine to handle hscroll input. ok op@ and stsp@


0ed6bc9021 Mark Jamsek

tog: add horizontal scroll support to the ref view

ok op@ and stsp@


b637f33f3d Mark Jamsek

fix OB1 in tog ref and tree views causing wrapped lines

While here, draw to the last column in tog help. ok op@ and stsp@


466be13875 Mark Jamsek

update backout/cherrypick regress for worktree UUID output

ok stsp@


ef85a376d8 Mark Jamsek

zap unused parameter in got_worktree_rebase_complete()

ok stsp@


36fdf00388 Mark Jamsek

return err instead of NULL in got.c:print_backup_ref()

ok stsp@


3506a2b1c2 Mark Jamsek

free cwd in cmd_backout() and cmd_cherrypick()

ok stsp@


2aea6fc2c2 Omar Polo

gotwebd: delete always-true check

ok stsp@


407521c004 Omar Polo

got_imsg_raw_delta: use struct instead of buffer for id

ok stsp@


babd9f5d19 Omar Polo

got_imsg_raw_delta_request: use struct instead of buffer for id

ok stsp@