Commit Briefs

Thomas Adam

yet another gotwebd TODO

writing everything down to avoid forgetting stuff...


Thomas Adam

one more TODO for gotwebd



Thomas Adam

gotwebd: fix briefs/tags navigation overlap

Introduces a separate field for the "next" button (now called "More") and adjusted the CSS/HTML so it's used. Finally, drops the old code used to handle the pagination for the BRIEFS/COMMITS cases. Needs a small hack for the time being, setting the action to TAGS. This is due how qs->action is changed in gotweb.c while handling the request. ok jamsek


Thomas Adam

zap trailing whitespace


Thomas Adam

another memcmp -> got_object_id_cmp



Thomas Adam

typo in comment

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



Thomas Adam

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@



Thomas Adam

got_imsg_commit_object: use struct instead of buffer for id

ok stsp@


Thomas Adam

got_imsg_object: use struct instead of buffer for id

ok stsp@



Thomas Adam

got_imsg_send_remote_ref: use struct instead of buffer for id

ok stsp@


Thomas Adam

got_imsg_send_ref: use struct instead of buffer for id

ok stsp@


Thomas Adam

got_imsg_fetch_ref: use struct instead of buffer for id

ok stsp@


Thomas Adam

got_imsg_fetch_have_ref: use struct instead of buffer for id

ok stsp@


Thomas Adam

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@


Thomas Adam

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@


Thomas Adam

tog: add horizontal scroll support to the ref view

ok op@ and stsp@


Thomas Adam

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@


Thomas Adam

update backout/cherrypick regress for worktree UUID output

ok stsp@


Thomas Adam

zap unused parameter in got_worktree_rebase_complete()

ok stsp@


Thomas Adam

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

ok stsp@