Commit Briefs

af206a1980 Stefan Sperling

fix previous; as Paul points out this section talks about the repository path

I didn't take the time to read the surrounding lines, sorry.


8fb73a156d Stefan Sperling

fix documentation of the default unix socket path used by gotwebd

spotted by Paul W. Rankin / rnkn via IRC


4f73a04b63 Stefan Sperling

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.



6a8e5dbbeb Stefan Sperling

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.


557db725c8 Stefan Sperling

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


9ae4c4eaf0 Stefan Sperling

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

ok op@


41873b17db Omar Polo

adjust some SIZE_MAX checks; ok millert@



2988b3decc Stefan Sperling

bump version number


ddb4fae822 Stefan Sperling

CHANGES for 0.100 (tags/0.100)


d7438101de Stefan Sperling

sync dist file list


0d34b85f76 Stefan Sperling

gotadmin sits in section 1, not 8



433eb77d4f Stefan Sperling

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.


2b1d417da7 Stefan Sperling

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@


f9723081c1 Mark Jamsek

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


f57c91b34d Omar Polo

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



1552435e8b Omar Polo

gotwebd: lower the level of the qs ptr-to-ptr


d5c153d0d8 Omar Polo

gotwebd: remove previd and prevset query string parameter

They're no longer used.


9ba23f168f Omar Polo

gotwebd: delete dead code

at this point we can't know if the client has disconnected, we just finished parsing the fcgi parameters and started handling the reply. We'll know whether the client disconnected only later, while trying to send the page content.


913884630c Omar Polo

gotwebd: use the last matching fastcgi parameter

in case of multiple parameters with the same name, use the last matching one.



c89c70b628 Omar Polo

got{web,}d: handle multiple -v

only fatal*() and log_warn*() are now logged by default. log_info() is hidden behind a -v and log_debug behind -vv. Makes gotd and gotwebd way less chatty. ok stsp@