Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
If the current line does not fit into the panel, then
it is not truncated but split into multiple lines. A
wrapping symbol is placed at the end of the line. If
the new line is short enough, it is right-aligned.
Wrapping is limited to a certain number of lines
(--wrap-max-lines), if this is exceeded the line is
truncated by a now highlighted truncation symbol.
To disable wrapping set this value to 0.
|
|
|
|
|
|
This does not use the values provided by default_value, so
validation will fail.
|
|
Panic when testing or exit with return value 2.
|
|
Ref 130b0b6a #684
|
|
In side-by-side mode, if `background_color_extends_to_terminal_width`
is set, the left panel color is extended via spaces, but the right
one via an ANSI sequence which instructs the terminal emulator to
fill the background color rightwards.
The command line option --line-fill-method ansi|spaces can change
how the right panel background is filled.
Add enums `BgShouldFill` and `BgFillMethod` to better distinguish
if the background should be filled, and if so, how.
|
|
Can be indexed with Minus/Plus or in a side-by-side context
with Left/Right to represent the left/right Panels.
|
|
Fixes #716
|
|
|
|
Prior to this commit we were emitting a spurious colon when
hunk-header-style was set to a value such as "syntax" (i.e. not
including "line-number") and navigate was enabled.
Fixes #672
|
|
Ref #672
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #291, #426
|
|
|
|
|
|
|
|
|
|
|
|
- create test_* functions for all state machine events
- move test_* into handle_* functions
- select next handled event with pipeline
- Inline test_* functions
|
|
* Rename state machine state: Submodule -> SubmoduleLog
* More minimalistic display of submodule log diffs
Partially fixes #662
* Defer emitting hunk header until first true hunk line
A consequence is that we do not emit the (pseudo) hunk header in
submodule (short) state; see #662.
|
|
|
|
* Refactor: use Option to model sometimes null highlighter
The highlighter is only needed when a language has been identified for
highlighting. Prior to this commit a dummy highlighter was being created
in place of no highlighter at all.
* Improve help text: slowness is due to edit inference
Ref #659
|
|
https://graphemica.com/%DD%B6
Ref #677
|
|
Ref #678
|
|
Support `insteadOf` replacements in git remote URLs
|
|
Don't wait for the child process to exit before consuming the child
process's output.
Fixes #683
|
|
|
|
This reverts commit e540004c9ae3a9fd6d3da6566422fb7f4a9ebdd1.
|
|
See #693
|
|
Use libgit2 to query remote URL instead of querying remote.origin.url
directly. This has the consequence that `insteadOf` replacements are
honored.
See https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtinsteadOf
Fixes #693
|
|
|
|
This reverts commit d97227ded9d465c2c8355df5f9f8f6ba1c1213e8.
|
|
Use libgit2 to query remote URL instead of querying remote.origin.url
directly. This has the consequence that `insteadOf` replacements are
honored.
See https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtinsteadOf
Fixes #693
|
|
|
|
* Use distinct navigate label for file and hunk boundaries
Ref #680
* Make it easy to remove hunk label from navigate regex
Thanks @lepotic for the suggestion.
Fixes #680
* Allow regex meta characters to be used in navigate anchors
|
|
* Make truecolor option honorable from gitconfig
* Add test that true-color can be read from git config
The new test fails before 7ed3c2c3ee494dab25fd76b220da7c716a9b731f
* Place computing process after set_options
* Add test for checking if values requre computing set correctly
* Remove unnecessary computed values candidate
Co-authored-by: Dan Davison <dandavison7@gmail.com>
|
|
|
|
Fixes #681
|