Commit Briefs

Thomas Adam

portable: initial Linux compilation

This commit modifies the GoT main branch to be able to compile it under linux.


Christian Weisgerber

indentation fixes


Stefan Sperling

use gmtime_r(3) instead of localtime_r(3) to display time in UTC as intended

Problem noticed by naddy due to failing regress tests at midnight, and then analyzed with additional help from millert. ok naddy




Tracey Emery

fix missed commit found check


Tracey Emery

fix a glaring logic error in navigation for commits, briefs, and tags.

now, we get the proper commit id from the tailq.


Christian Weisgerber

switch from SIMPLEQ to equivalent STAILQ macros

The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp



Stefan Sperling

unveil gmon.out if gotweb is being profiled

ok tracey


Stefan Sperling

check for close(2) error in got_repo_close() and propagate errors up

ok tracey



Josh Rickmar

Fix strftime(3) short buffer checks

strftime(3) returns 0 if the buffer was too short to write the complete string (including NUL) and will never return more than maxsize-1. ok stsp


Stefan Sperling

make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere

ok millert, naddy



Stefan Sperling

Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags'

Make use of this where possible to avoid re-reading references from disk. ok naddy


Stefan Sperling

repair gotweb build after diff api changes






Christian Weisgerber

indentation fixes


Tracey Emery

restore code removed in b5f0780096f443734de8fc503ca92bf737e2a7b2 and complete code so sub directories work in gotweb

This was pointed out by uwerler in IRC. ok stsp



Stefan Sperling

repair gotweb build; broken since 48cae60d