Commits
- Commit:
4d5ee9564a9e46a1f634f619833c62f636cfbdc1
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
create and verify tags signed by SSH keys
This adds a new -s flag to 'got tag' that specifies the signer
identity (for example, a key file) of the tagger. The tag object will
include a signature that validates each of the tag object headers and
the tag message.
Verifying these signed tags requires maintaining an allowed signers
file which maps signer identities (i.e. the email address of the
tagger) to SSH public keys. See ssh-keygen(1) for more details of the
allowed signers file. After creating this file and providing the path
to it in got.conf(5) using the allowed_signers option, tags may be
verified using with 'got tag -V tag_name'. The return code will be
non-zero if a signature fails to verify.
ok stsp@
- Commit:
6c77e0337609d941281f017b3e0229ae45a35b7a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix imsg_add TREE_ENTRY: Result too large on i386
There's a math error when computing the size of one entries in the
batching code. Reported by semarie, ok semarie stsp
- Commit:
501834af38124c2210b66fa6705cc0890781b539
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix leftovers from long -> int change
when changing the line addresses to be int from long the report
callaback was forgotten.
- Commit:
a92a20426c3078772e9cc8671b4c58ed9a07b9bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: handle mangled whitespaces
This makes 'got patch' try to ignore whitespaces when trying to match a
hunk.
Discused with and ok stsp@
- Commit:
5dffb1a14a4e706b322f648797d0fea44e684aa8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: don't loose the x bit when merging with diff3
This fixes a regression introduced with the diff3 merge: files merged
this way have their permissions resetted after patch.
The issue is due the fact that patch_file looks at a temporary files
and not at the original "old file".
Reported by and ok stsp@
- Commit:
f5b0315f0e07bfd36a4eb37d91884fcd8614745a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
aesthetic: rename regress to test_patch_rm_file
drop the "simple" part, there's no "complex" way of removing files.
- Commit:
ed2ff8b9f919f8d0e18e69b038e965924454da58
- From:
- Omar Polo <op@omarpolo.com>
- Date:
augment test_patch_add_line
Try to create a file with more than one line, it would have catched an
issue with my wip diff for ignore whitespaces in got patch.
While here rename the function to drop "simple".
- Commit:
acf749fc600a43d8e276321e8a63cd97484f30bb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor the patch parser
Introduce a patch_start routine that finds the next "diff" header (if
there is one); the idea is to persist some state (commit id and wether
it's a "git diff") while processing the content of the diff. It's
needed because in the case of 'got diff' some information like the
commit id are only present once at the beginning.
As a consequence, the patch parser becomes slightly more robust
(concatenating diffs produced by different means shouldn't confuse it
anymore) and drops the support for "old" got diffs, the ones previous
the introduction of the "commit -/+" header.
ok tracey@
- Commit:
f0032ce63b4f4f035e5f7894a406a96931f99f3f
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: remove count prefix timeout and bold output
Suggested by naddy. block till non-numeric input is entered, and don't echo in
bold.
ok naddy@ op@ and stsp@
- Commit:
76364b2d0d2a4cbd30e348da2a4330a2137ee86e
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
unconditionally set x/y pointers in view_get_split()
suggested by and ok op@
- Commit:
917d79a766c47414055c6901624816a41f13597b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make the diff algorithm used by 'tog diff' and 'tog blame' configurable
ok jamsek
- Commit:
4b752015b5208a96c2d1b6c1c6b8589884b8b2b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch 'tog diff' and 'tog blame' to Myers diff for speed
Make the choice of diff algorithm configurable by diff API users.
The got and gotweb programs keep using Patience diffs which are
prettier than Myers. But tog should be as fast as possible since
it is being used interactively. If performance of Patience diff
gets improved later we can consider switching tog back over to it.
ok tracey jamsek
- Commit:
0dca135e7628142c56b3f71c3b5eb875f4fe6c7f
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: fix C-d and G log view keymaps in horizontal split
Account for the border so we don't scroll offscreen, and don't unset the
load_all flag till all commits have been loaded so we take the correct path
in log_move_cursor_down().
ok stsp@
- Commit:
24b9cfdc78b2ec3ec3025ac9a63370ef72ff63fb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix fullscreen / split-screen toggle in tog
ok jamsek
- Commit:
49d4a01751d39b078bfb27a2d63b5cfa69e410fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move more opentemp out of diffreg.c
ok tracey
- Commit:
e6e73e5504113b6c75f1b2e3dec3e22af8f41996
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move remaining got_opentemp's out of blame. ok op@
- Commit:
9b058f456d15d60a89334ce3e7f0a7c22e182c55
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: implement support for horizontal splitscreens
Enable all main views to open primary child views in a horizontal split:
log -> diff
tree -> blame
blame -> diff
ref -> log
Support is yet to be expanded to nested child views and key maps for
manipulating split type and size.
ok op@ and stsp@
- Commit:
b880cc75ed8a91d3ed8ddb051aa4ea4e2b7314c0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: refactor log cursor movement in prep for hsplit
Simplify the log input handler by moving (page)up/down and home/end logic
into helper routines as we need to perform some checks on these cases when
navigating the log view in horizontal splits.
ok op@ and stsp@
- Commit:
c71ed39a66ed8e3aeaa13e76fce179b7bf6efec6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix split-screen issue in tog when moving focus from child view to parent view
Reported by jamsek:
$ tog # term wide enough to vsplit
return # open commit
f # fullscreen commit
tab # should go to fullscreen log, but it splits the screen
fix ok jamsek
- Commit:
4dd27a7290cd557f7db7d0b5d647d00157e7f82f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix recent regression in tog where split view was not restored after resize
ok jamesk
- Commit:
8c4a6db8547e314f29117f820ab5f99722b980fb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it possible to show just one tag with 'got tag -l'
suggested by jrick
ok jrick jamsek
- Commit:
f9d376997dd2e84bf84c3c9a4da842d1b5565e9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_opentempfd() out of lib/diff.c again
ok tracey
- Commit:
1b484788fec38ce9936267c176e77f653d749b8d
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of blame_open ok stsp@ jrick@
- Commit:
7a13e6e501f6808283b956b84746cc9e8d2f1b25
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass the correct file to fdopen(); ok tracey
- Commit:
ce7556f23f6b599e1f224216af82b0a097a13ca3
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix missed dup in open_blob per stsp@