Commits
- Commit:
310a8ea5d9d2eca34e7cdd0484fc2a1ce40dba1e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use got_object_id_hex instead of got_sha1_digest_to_str
(where possible)
The latter assumes that we only have sha1 digests to pretty-print,
while the former could, in the future, automatically switch to
sha256.
At the moment though, this is a no-op.
- Commit:
740e7917ac3f37feb39510c99a184089bd22f519
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change got_imsg_painted_commit to use a object id struct
ok stsp@
- Commit:
1b1a386df9068b7cb3ceb8a67d88ccd24f5b2deb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd: use a struct got_object_id instead of an hash buffer
ok stsp@
- Commit:
50eb7cdf4a2cf4faa7b494ffd0520471b93905e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd regress: update error message
- Commit:
75e58d893ea728a250b35dff13d82123aaabc9f0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: change how we deal with a non-existant config file
We don't need a config file since we have some defaults, but we
also need a way to set them. After the change to move `listen on'
to a global rule, we don't add the default socket anymore when
there's no config file. Instead, change how we deal with an
*existing* config file and leave the rest of parse_function() to
handle the case of missing knobs to set up.
- Commit:
a0c23862a7804dbba0e030bd78bf05ed4d1ffdfe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: plug fd leak in error path
- Commit:
fae3f56c90a8e133ab63a37fb266354f88fe4911
- From:
- Omar Polo <op@omarpolo.com>
- Date:
swap error check in got_gotweb_closefile() to always call ftruncate
- Commit:
c26e21eef791002a56bc9c626f5a94cba4165d09
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: squish horizontal scroll bug that draws trailing '.'
When calling span_wline() to compute the number of columns to skip on a string
with a column length less than or equal to the number of columns we want to
skip (i.e., that the user has scrolled right), the call to wcwidth(3) returns
-1 for a '\n', which we replace with a '.' character. Trim trailing newlines
before calling span_wline().
ok op@
- Commit:
760da9be871e5ddb0810ad8d09b20016fcafa770
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix diff view J keymap to diff the next commit in the log
When the last visible commit in the log view is selected while in a log/diff
horizontal split, and fullscreen is then toggled in the diff view, the user
cannot scroll to the next commit with the diff view J keymap due to a bad
predicate guarding a clamp to prevent scrolling off-screen that should only
be applied when in the horizontally split log view and not when scrolling
from the diff view. The fix also reveals an off-by-one that's only applicable
in the hsplit case in the subsequent commit loading logic that also breaks J
when attempting to scroll beyond the last loaded commit.
New regress added to cover these cases.
ok op@ (caveated that he's unsure exactly why the OB1 fix works)
- Commit:
af206a198055a86eba0f4d54303cb456001ff133
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
8fb73a156d9d9722e806d5d403972b40a8723f11
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix documentation of the default unix socket path used by gotwebd
spotted by Paul W. Rankin / rnkn via IRC
- Commit:
4f73a04b6396087a85fe0bc181e1e04b0c0d674f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
bf16ce9567e383f40f76bdd7468c72bf921fc1bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak previous: when using so many words, might as well mention fetch
- Commit:
6a8e5dbbeb3644d733e5e6acb0f5d19280d1c647
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
557db725c8ba1e1ed1efd51febd91476b965647b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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
- Commit:
9ae4c4eaf05d8dfead422805fa0f902e196b73d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix histedit -e bug where reverting all changes causes histedit -c cycles
ok op@
- Commit:
41873b17dbf689280a2f59f9e7187205a5b358f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust some SIZE_MAX checks; ok millert@
- Commit:
58578a1a5cba826572864b8a62787325b5120b1e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
trim down the somewhat confused one-line description of gotwebd.8
- Commit:
2988b3decce36ec7b18dd3391ddfba5c9e58eadb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
ddb4fae82208a38441169b7c37fd5da36c00e01c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.100
- Commit:
d7438101de9b4b5380ac35e50ad7b04ede66b1f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
0d34b85f76c5c85c25257f023e4fc89e248e32ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotadmin sits in section 1, not 8
- Commit:
f0e09e7dfdbb343ff305d9f64c1808bbe5b5dcfa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got.1 point out all the companion tools for easy discovery by new users
- Commit:
433eb77d4f00be3e4a69641f7a61b4e5c6935a15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
2b1d417da7256f4a2ca5a1e7d20a9ba901dec893
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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@