Commits


plug a memory leak in got_privsep_recv_send_remote_ref We didn't always call imsg_free(); while here also fix the `default` branch so it actually errors on unexpected messages. Diff from Kyle Ackerman with tweaks from tb@


plug an object leak introduced in my tagged-tag packing fix


remove a todo item that's done


fix pack file creation in the presence of tagged tag objects If a repository contains a tag that tags another tag we could fail with a "bad object data" error while creating pack files because the packed-object-enumeration code assumed that only commits get tagged, trying to parse the tagged tag object as if it were a commit. This issue affected 'got send' and 'gotadmin pack'. There is probably more work to do here because other weird cases are known to exist in the wild, such as git.git's refs/tags/junio-gpg-pub which tags a blob. Problem with 'got send' reported by jrick@


prevent tog segfault upon unexpected object type in ref list view If an unexpected object type is found while resolving a reference in the ref view, have tog exit with an "unknown object type" error instead of crashing. Found while playing with a repo which contains tags that tag tags.


add a todo item


fix incorrect error code raised from diff_modified_blob()


make got_object_open_loose_fd() return NO_OBJ error upon ENOENT Some callers were manually converting from ENOENT to NO_OBJ. Checking errno becomes increasingly unreliable the further up the call-chain we return to. Let's return NO_OBJ directly at the spot where the original error condition is detected.


trailing whitespace; from man -Tlint


gotd.conf: document macro syntax, stealing from gotwebd


use _POSIX_HOST_NAME_MAX instead of HOST_NAME_MAX this is to help -portable. Some systems don't define HOST_NAME_MAX at all, and assume instead that code will use sysctl(_SC_HOST_NAME_MAX) with a VLA or a dynamic allocation, which is completely backward and useless. So, use the _POSIX hammer on this one too. it's dirty, but it's better to strive to avoid gratious -portable changes. reported and discussed with Thomas Adam.


bump version number


CHANGES for 0.103


have 'make clean' remove gotd-secrets.conf file created by gotd regress


sync dist file list


have 'make clean' delete files generated by secrets regress


fix documentation of auth keyword in gotd.conf.5


wording improvements for gotd-secrets.conf man page


traverse regress/secrets during 'make regress'


add stderr files generated by secrets regress to ignores list


make output of secrets regress tests more like that of other tests we have ok op@


gotwebd: minor tweaks to the HTML for ease of styling This adds a few more classes and wrapper divs that make easier to customize the look, without changing the appearance.


improve the gotd-secrets.conf syntax don't reuse the username as the label since it makes impossible to have multiple entries with the same username. ok stsp@


fix some typos with codespell(1); ok/tweaks tb@ and stsp@


sync files from diff.git edc37d001aae9784c6d575f08850d49139adf02f