Commit Briefs

Omar Polo

change got_open_blob_for_output to not look at the querystring

the implicit dependency on the various variables inside the querystring makes reusing the code in got_operations.c a bit harder. Accessing a blob in the tree view for instance requires a few workaround. Instead, just take the folder^W directory, file and commit id as arguments, so they can be easily changed without hacks in the proper places. While here, support passing a NULL commit to mean "HEAD".


Omar Polo

require a commit id






Omar Polo

gotwebd: make blame view work in text browsers

While here pad line numbers with spaces instead of zeroes to match the blob view.




Omar Polo

gotwebd: add links for actions in the blob page

positive feedback from Kyle Ackerman ok/tweak tracey@


Omar Polo

refactor gotweb_load_got_path; no functional change

ok tracey@


Omar Polo

gotwebd: add a dark mode

Diff from Kyle Ackerman. tracey@ and I likes it.


Omar Polo

gotwebd: introduce .page_header_wrapper to avoid style repetitions

while here clean up some *_header id not used / not needed.



Omar Polo

gotwebd: tweak .tree_wrapper styling; no functional change

there's no need to override the background-color for the 'even' row. This will simplify the addition of a dark mode.