Commits
- Commit:
01392bd60410ca454e46653c8a740008e84545ef
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
gotwebd: abort tree and blob as well
- Commit:
4f152e84c01e22799218a449a85a105ff94fdf9d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: abort blame if the client disconnect midway thru
Without setting err when the callback fails we continue the blame
machinery.
- Commit:
faf054c3d5fbad3a55534ebe525d58156c7aad27
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make new log message modication check more robust; fixes regress fallout
ok jamsek
- Commit:
ccc835f12a86459f480a7ea4b724af67cd0889a7
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
garbage-collect redundant read_logmsg() parameter
As identified and suggested by stsp, with the previous commit,
'strip_comments' is now always set thus no longer needed.
ok stsp@
- Commit:
93436ccdaf0945f5fdb4b5cd2b90c9ac0bb14c83
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: use timestamp and emptiness to validate log message
As suggested by naddy: consider commit log messages valid provided the temp
file time stamp has changed and the file is not empty. This heuristic
provides the desired behaviour (i.e., reusing cherrypicked/backed-out log
messages) that's currently provided but is simpler to grok.
Improved by and ok stsp@
- Commit:
4a1dd8cd4ffaff7d51710820c34321acef181042
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert two files to utf8
ok stsp
- Commit:
0c049f812e8c3be4dff1796adb9f6d66ca01832b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a TODO item for gotadmin pack command
- Commit:
08175cbb494791a8de66d4f28a3b38da7ca956e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
open_blob: copy whole id not just the sha1
- Commit:
5458cb76da2e5c4d71fa0f50379368f77e5380b3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove recv_disconnect() from repo_write.c; missed in previous commit
- Commit:
363c62309e9bd4bf1b461ff5eff94d977496d000
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not expect to see a DISCONNECT message in repo processes
The parent no longer sends this message. Perform related cleanup
in the shutdown path instead.
ok op@
- Commit:
b4b2adf52ba9b7ad15eb9423cbc20034cdacbbbf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add functions to extract object ids from fileindex entries
ok stsp
- Commit:
90270f794c7f4e1ce2b58c8b5bfdc190df4799b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd segfault in libevent while disconnecting clients
Sending a DISCONNECT message to the repo process and then killing
it and freeing its structure won't work. The message ends up on
internal libevent queues and will soon crash because we have freed
the memory for the event structre.
Sending that message is a leftover from the times when the repo
procs were persistent.
- Commit:
3b8fb9520f899be7cb492c652afa0cdce28e350e
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
rm unused boolean grammar. ok stsp@
- Commit:
91a3781a11d1b2c483221d9dca87d72aea17637b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make edits made to comments count as a log message modification
This supports use of cherrypick/backout without requiring the user
to modify the log message of the original commit.
ok jamsek, op
- Commit:
575dc3f9456affacd711c081f85e2b41f2544206
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix gotd and gotsh usage() function declaration
"function declaration isn't a prototype"
should fix the error seen by tracey@ on sparc64
- Commit:
ae0cca99d4999f67c98e04bf1f806bd1147d9721
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd parent dispatch handlers more robust during teardown
We have observed gotd exiting after "cannot find client for fd N" errors.
If this occurs then we are likely in the process of disconnecting a client
session while processing an event from a child process. Treat the above
error as non-fatal and stop processing more events from the child process.
- Commit:
602eda794f1d6ffa7bf52408686191499e971da3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: reset 1 second refresh rate after starting search
This fixes an issue reported by Mikhail where CPU usage continuously
increases if search is started after the refresh rate has dropped from
100ms to 1s by resetting the 1s refresh rate if search is started after
fast initialisation has finished. This is not needed in limit_log_view()
because the 1s refresh rate is reset in draw_commits() once the screen
is redrawn (i.e., commits_needed == 0).
Tested by and based on initial patch from Mikhail.
ok stsp@
- Commit:
2ec74a9e9c334f3245765a6e6f35b7977f5b420e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop double process name from some gotd logs
i.e. "listen: listen: shutting down" -> "listen: shutting down"
the procname is already prepended by vlog()
ok jamsek
- Commit:
704b1cf77bf5aa6f9aeed7bca0b34c53cc2183c2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
only fetch the work tree's branch by default if it is inside "refs/heads/"
ok jamsek
- Commit:
ec218e165dfd906f44ad491671127ca4b6979ed0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: use intermediate pointers to plug leak on realloc
And save worktree_branch_len for reuse.
ok stsp@ and op@
- Commit:
ba4dfaf77ed2c311eaabc0b99e96083ba548c937
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
nix unnecessary colon in gotd log output
ok op@
- Commit:
188f8dcf2c1c15bf37859e3b587bc6331fd5a097
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix interaction of 'got fetch -b', got.conf, and work tree
Without branches in got.conf for a remote, and without -b/-R options,
the fallback to HEAD would only work when not invoked in a work tree.
With this fix 'got fetch' should behave as described in the man page.
The -b option now overrides both got.conf and the fallback to the work
tree's branch.
And fallback to HEAD works as expected when invoked in a repository.
Also, do not strictly require remote repositories to provide a branch
from the refs/heads/ namespace. In such cases users should be able to
use -R to select something to fetch.
ok jamsek
- Commit:
c9003c52fc7f70dd988402560adcd22709e74800
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
hide unexpected diff output from xfail test
- Commit:
8a86203b94a0368ac2f3e88dfcd269e601b4beb4
- From:
- Lucas <lucas@sexy.is>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add xfail test for 'got status' ignore patterns with a trailing slash
Patch by Lucas
- Commit:
49351f3bf4ab5a99f1b0653e176e01ab5988acde
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got import' -I option match directory names with a trailing slash
reported by Lucas on IRC, who sent a patch which this commit was based on
ok jamsek