Commit Briefs

8cb46987fe Thomas Adam

rename a function for clarity



da2c57e47e Thomas Adam

typo and style(9): do not use function calls in initialisers.

ok stsp@


a66a4a5063 Thomas Adam

fix mistaken instances returning NULL instead of err

While here, for consistency, check dup() return value for -1 rather than < 0. ok stsp@


0ac95f6598 Thomas Adam

fix missed doc update of new 'got fetch' behaviour

ok stsp@


aac3e701f3 Thomas Adam

delete unused code

serializes an id to a local buffer before before returning. ok stsp


e8db300645 Thomas Adam

yet another gotwebd TODO

writing everything down to avoid forgetting stuff...


4a363bb01e Thomas Adam

one more TODO for gotwebd


bd6e9c731b Thomas Adam

add an arrow after "more" as per jamsek suggestion


20bab626cf 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


d4628c48f3 Thomas Adam

zap trailing whitespace


28d1e31ec4 Thomas Adam

another memcmp -> got_object_id_cmp


1ba62ba45b Thomas Adam

use got_object_id_cmp instad of memcmp where possible in object_parse.c

ok stsp@


2be33b0917 Thomas Adam

typo in comment

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


91b10dd279 Thomas Adam

add test coverage for new 'got fetch' default behaviour


38c5cf99cb 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@


440789268f Thomas Adam

add a few TODOs for got patch and gotwebd


e4c85b4990 Thomas Adam

got_imsg_commit_object: use struct instead of buffer for id

ok stsp@


fc842fc804 Thomas Adam

got_imsg_object: use struct instead of buffer for id

ok stsp@


3fa67434f8 Thomas Adam

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

ok stsp@


0f23036a1e Thomas Adam

got_imsg_send_remote_ref: use struct instead of buffer for id

ok stsp@


ea58e97428 Thomas Adam

got_imsg_send_ref: use struct instead of buffer for id

ok stsp@


9228a15c47 Thomas Adam

got_imsg_fetch_ref: use struct instead of buffer for id

ok stsp@


f9f544689c Thomas Adam

got_imsg_fetch_have_ref: use struct instead of buffer for id

ok stsp@


851a5b487c 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@