Commit Briefs

1c234fa46a Thomas Adam

fix documentation of the default unix socket path used by gotwebd

spotted by Paul W. Rankin / rnkn via IRC


9832a51c8b Thomas Adam

Remove unnecessary sched_yield(2).

Re-applies commit 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491 which was reverted in commit 82954512f323c8a2d4f89d51be1e6b0f707b6c3a because at the time the change broke the 'search' feature. Quick testing suggests search is now working fine, so let's try again.


fe0e729042 Thomas Adam

portable: macro cleanup

Don't leak past a define on the rest of the line.


df57a44f72 Thomas Adam

portable: don't declare __bounded__ on OpenBSD

This is already defined by OpenBSD.


5f4098325a Thomas Adam

portable: move __bounded__ check

Not all systems (NetBSD) define __bounded__.


3f1103ea8d Thomas Adam

portable: fix compilation on OpenBSD

Make -portable work on OpenBSD; explicitly use -ltls, and dont't use PKG_CONFIG to check for a library which won't exist on OpenBSD.



702e6fa445 Thomas Adam

tweak the error message shown by 'got send' when ancestry has diverged

The previous message steered users towards rebase; nowadays we also have a merge command and send -f. It's tricky to explain all possibilities of what to do next in a single line, but this is probably better than nothing.


da165977d6 Thomas Adam

show a more useful error when a reference name collides with another

If a reference cannot be created because a file is present where a directory would need to be created to accomodate the new ref's name, report a name collision rather than an obscure mkstemps ENOTDIR error. issue found by Lucas


ad18dfab1c Thomas Adam

fix histedit -e bug where reverting all changes causes histedit -c cycles

ok op@


26ec500845 Thomas Adam

adjust some SIZE_MAX checks; ok millert@



86e2d5c48f Thomas Adam

portable: set next version


1e5b87a027 Thomas Adam

portable: release 0.100 (tags/0.100)


9d288e675a Thomas Adam

portable: CI: FreeBSD-14.0

Bump the CI testing for FreeBSD to use 14.0


790c0958c5 Thomas Adam

bump version number


66c4049d62 Thomas Adam

CHANGES for 0.100


7b02234487 Thomas Adam

sync dist file list


ada2ec4f22 Thomas Adam

gotadmin sits in section 1, not 8



6becd17985 Thomas Adam

reintroduce the 'got init' command as an alternative to 'gotadmin init'

New users trying out Got for the first time have reported trouble with finding a way to create a new repository, based on their assumption that Got works like Git which provides a 'git init' command. It doesn't cost us much effort to keep this command available in both programs to make discovery a bit easier for new users coming from Git.


ec1fc28206 Thomas Adam

fix pack file transfers which do not use sidebands

Found while running 'got clone' against a git9 server, after an unrelated issue was reported by Lucas on IRC, thanks! ok op@


0d03949003 Thomas Adam

plug 'got diff obj1 obj2' line metadata memory leak

Despite API callers not requesting it, we collect line metadata due to NULL pointer checks missing a level of indirection. Reported by Kyle Ackerman. ok op and stsp


0f24033e38 Thomas Adam

plug a leak in a few cmds: forgot to free(cwd) at the end

spotted while investigating for another leak spotted by Kyle Ackerman. ok stsp@ and jamsek