Commits
- Commit:
d4331337c16d79089a4d73dcf68d13eaf565c39b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
condense info about histedit mesg command being valid only with pick or edit
- Commit:
8ea72c47a2077c52fad27872183808829d76c4d8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
histedit: make sure mesg is only used after pick or edit
It doesn't really make sense to use mesg after a fold or drop, or after
another mesg. it currently "works" as intended, but the behaviour is
confusing and not useful, better abort the operation as it's probably
not what the user intended.
Suggested by and ok stsp@
- Commit:
ffcfe569470b9a24db65cf13a33fb059d17752a2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got tag -V is like tag -l with verification, fix option-conflicts accordingly
- Commit:
b1c950bff5bebefb962adbfcac9de1dabe16def8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog man page: Be more precise when first introducing split layout terminology.
- Commit:
7faa2de40177590f13b34f7af1f03e6542ec14fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog man page: improve spacing with a .Pp before global key bindings
- Commit:
569abcd7120e6ab54fb71ffefe8d0f39240bf31b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog man page: tweak documentation of vertical/horizontal split for clarity
- Commit:
eefbc049afbcf4f4cdf48c75de46400daf54d2cf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
improve documentation of the histedit 'mesg' command
prompted by a question by op@
- Commit:
ae98518f6bdbf22a92bd88399deab1642b3721ca
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: only request commits when child hsplit increases
Fix bug introduced in 3c1dfe12b3 that fails to properly populate child log
views due to incorrect request_log_commits() calls: (1) when increasing the
bottom hsplit in a ref/log splitscreen; and (2) when reopening a child log
view after closing a resized child log view:
$ TOG_VIEW_SPLIT_MODE=h tog ref
return # open log view in bottom split
4+ # increase log (child/bottom) split
*new log lines are not populated*
q # close log view
return
*commits are not loaded*
ok stsp@
- Commit:
97cb21cdfaeff6052c984dd9a9bbe56f5e2deb60
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: adjust view line offset when resizing hsplit
Squish bug that can move the selection cursor offscreen when resizing
horizontal splits due to bogus offset:
$ TOG_VIEW_SPLIT_MODE=h tog # 80x24
22j
return # open diff view in a hsplit
tab # focus log (top) split
10+ # increase top split by 10 lines
22j
return # open diff view in a hsplit
F # toggle fullscreen diff view
tab # focus log (parent) view in fullscreen
*selection cursor will be off the bottom of the screen*
ok stsp@
- Commit:
4fc71f3b760478d7300692fa227470174bf71bef
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: enable moving to prev/next blame line in diff view
Blame/diff view counterpart of log/diff <,.> key maps to traverse commits
corresponding to each line of the annotated file from the diff view. Includes
fix from stsp@ to work while the file is still annotating.
ok stsp@
- Commit:
ddbc4d37d03655e34912912b916ef1db6e481fed
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: make 'S' switch split mode irrespective of the view
Always switch internal split state and redraw view according to the
constraints of the new mode.
suggested by and ok stsp@
- Commit:
f2d749db68f584041b421d0b6f6f3fb64251ff0c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'tog log' error out in shallow Git repositories instead of hanging
ok op@
- Commit:
0a046396cb50b910b505fbd85552af508f983fd8
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: fix sed parsing
When making sed's command-line flags portable, don't split on $@ before
parsing it, as this won't preserve the original string which needs
passing to sed unmodified if it's never had to be changed.
- Commit:
c1233c7fd72e99312b77804f7decb19236efd914
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: add test stage to all runs
Whenever a CI change is made, also run the test suites. This is enabled
for just Ubuntu and FreeBSD for now.
- Commit:
432c637b8849b493bbe9a6907f2adc9e3d6d9c32
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: improve sed handling
When massaging sed command strings, to handle the differences between
"-i ''" not meaning the same thing on non-BSD systems, this previously
used a bashism to determine the positional arguments.
Instead, defer to using a loop which doesn't rely on bashisms.
- Commit:
cc5596d8c4a9f7e1fc5a632e5093e23f4fb80cb5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: remove backticks from string
Remove erroneously-placed backticks when describing a lack of GNU
coreutils.
- Commit:
980b161540a9fb1b3691c610b5799ea1d3158a97
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: make OS-detection sh-compatible
Don't rely on $OSTYPE being available, which it isn't in strict POSIX
mode. Ubuntu's sh is often alised to dash, and hence this fails.
Instead, default to using the output from 'uname'.
- Commit:
8f000c9d285bf6e6880991a0eefe0c5db5084cbb
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: ci: add ubuntu
Add Ubuntu as a dedicated CI environment. By default, sh is aliase to
dash which often provides interesting challenges for portability, so
making this work here is a good thing as mistakes will be spotted
earlier.
- Commit:
e8da6c412759282e41c232887b3c9e4bdb3362e3
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: harden coreutils check
When running tests on non-Linux systems, it was just assumed that GNU
coreutils had been installed. This meant that the wrapper commands for
date/ln on those systems always had gdate and gln installed.
Rather than assume that, check to see if the GNU coreutils versions as
present, and if not echo a warning.
- Commit:
d3b82051e9673733a447d3fec7d1326f0a87e359
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: set PLATFORM when running direct
PLATFORM is populated when running via `./configure && make` but this
isn't guaranteed if an individual test is run directly, such as
`regress/cmdline/tag.sh`. In such cases, PLATFORM will be empty, but we
still want to use it. Since we test for non-linux values, only set
PLATFORM if we're running on Linu so that the correct commands are used.
- Commit:
b9e3c50406aeac333955263c028944bb064a695b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove stale comments
Remove comments which are no longer required.
- Commit:
53d2bdd3e37f479b355cf7c28a6d404076799570
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: implement +/- keymaps to resize the focussed split
Increase/decrease the currently active split. New dimensions persist for the
tog session, irrespective of subsequent closures and new child views.
suggested by and ok stsp@
- Commit:
644866927109ba80d819dc2b19530253fd93be58
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: implement global 'S' key map to switch split mode
If in a vertical (horizontal) split, switch to horizontal (vertical), and make
new split mode persist.
ok op@
- Commit:
dab315a53201f10e04361d5f740a7e921260d60c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use got_privsep_flush_imsg instead of reinventing it
ok stsp@
- Commit:
e215b807ba3c0b3e54a5ea161e750ac3466a1b0e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
get rid of unneeded recv_imsg_error calls
got_privsep_recv_imsg users don't need to bother to look whether the
imsg type is GOT_IMSG_ERROR because got_privsep_recv_imsg already
takes care of that and turns GOT_IMSG_ERROR into `struct got_error's
automatically.
ok stsp@