Thomas Otto
959471392d
Allow multiple hyperlinks per line
...
Previously only the last commit was linked.
Do not link numbers (technically also commits), and stop after
finding 12 commits on a line.
2024-11-20 23:45:55 +01:00
Thomas Otto
4ea8f9ab60
testability: add pretty_assertions, git mocks
2024-11-20 23:45:55 +01:00
Dan Davison
1dd28e7b51
Support {host} in hyperlinks ( #1901 )
...
* Support {host} in hyperlinks
* Improve help text
2024-11-16 10:51:28 -05:00
dvermd
b2fb1de562
Delete now-unused pricate homebrew formula step from Makefile (III) ( #1830 )
...
Signed-off-by: dvermd <315743+dvermd@users.noreply.github.com>
2024-11-15 20:20:17 -05:00
Dan Davison
2a31398fd6
Rename poorly-named variables ( #1904 )
2024-11-15 20:19:37 -05:00
Dan Davison
d0ec139c32
Honor pager path when checking less version ( #1903 )
2024-11-14 21:24:00 -05:00
Dan Davison
1fb6f99ec4
De-emphasize auto-detection of colors in README config
2024-11-12 12:33:54 -05:00
Dan Davison
1a8d3bc994
Suggest delta -h
and delta --help
in README
2024-11-11 10:05:54 -05:00
hrm
f437f75d58
Add console commands for git configuration ( #1896 )
2024-11-11 10:02:14 -05:00
shray sharma
d90f6b5864
Redundant Option Checks, Unwrap Safety ( #1892 )
...
Redundant Option Checks, unwrap Safety, unnecessary Lifetimes, Rust often infers lifetimes automatically
---------
Co-authored-by: Quied <dexflame3@gmail.com>
2024-11-09 14:27:33 -07:00
Dan Davison
4f21731fec
Center-align README content ( #1893 )
...
* Center-align README content
As suggested by godelski
https://news.ycombinator.com/item?id=42092463
2024-11-09 09:38:34 -07:00
Thomas Otto
4e3702c7fd
Add optional capture-output writer to run_app()
...
The output and exit code of run_app() are now testable, used for diff test.
2024-11-05 11:04:02 +01:00
Thomas Otto
c3fba1cd07
CI: switch to macos-13, as 12 will be unsupported soon
2024-11-04 22:55:21 +01:00
Laurens Vanderhoven
f846a1af98
Add themes weeping-willow, mirthful-willow ( #1864 )
2024-10-31 19:27:54 -04:00
Adam Johnson
4f207f7755
Recommend zdiff3 merge.conflictStyle ( #1260 )
2024-10-29 17:12:31 -04:00
Dan Davison
9c8f40e356
Don't set colorMoved in introductory instructions ( #1884 )
...
Fixes #1098
2024-10-22 04:21:26 -04:00
Dan Davison
7690afa9e9
Refactor ( #1877 )
2024-10-21 18:22:21 -04:00
Dan Davison
f4563d9d05
Use same example config in manual as README ( #1879 )
...
Fixes #1878
2024-10-14 13:31:43 -04:00
Dan Davison
5b042fc3ea
Evolve toggling section of manual
2024-09-27 04:00:47 -04:00
dvermd
0dd38d43f7
Improve blame file type detection ( #1829 )
...
Move blame to CallingProcess
Signed-off-by: dvermd <315743+dvermd@users.noreply.github.com>
2024-09-22 20:25:44 +02:00
dvermd
c384eed937
Do not double panic in FakeParentArgs::drop
...
Signed-off-by: dvermd <315743+dvermd@users.noreply.github.com>
2024-09-15 10:42:35 +02:00
Dan Davison
7dd279284b
Update release Makefile
2024-09-11 08:51:11 -04:00
Dan Davison
9b80e68904
Link to new binaries
2024-09-11 08:49:53 -04:00
Dan Davison
a589ff9deb
Bump version
2024-09-11 08:29:53 -04:00
Thomas Otto
3f092c7e74
Upgrade and pin unicode-width to v0.1.12
...
v0.1.13 calculates the width of some characters differently, which
causes delta to panic
See unicode-rs/unicode-width#55 and unicode-rs/unicode-width#66
2024-09-11 08:24:33 -04:00
Tau Gärtli
3ccdd2d21f
Consolidate doc comments
2024-09-08 23:57:24 +02:00
Tau Gärtli
df43b77fa5
Remove fallback to bat theme env var
...
The fallback is already handled in `set_options`
2024-09-08 23:57:24 +02:00
Tau Gärtli
c5696757c0
Replace "light mode" bool with a dedicated enum
2024-09-08 23:57:24 +02:00
Tau Gärtli
8220cefb3c
Make docs proper module-level docs
2024-09-08 23:57:24 +02:00
Tau Gärtli
46c72682d5
Make use
top-level
2024-09-08 23:57:24 +02:00
Tau Gärtli
a66ac8e182
Merge get_is_light* functions together
2024-09-08 23:57:24 +02:00
Tau Gärtli
cba999a99f
Allow --dark to override a light syntax theme
2024-09-08 23:57:24 +02:00
Tau Gärtli
e1f3e618b7
Add missing test combinations
2024-09-08 23:57:24 +02:00
Tau Gärtli
5363030e96
Add test for dark theme
2024-09-08 23:57:24 +02:00
Tau Gärtli
9830f595b4
Do fallback outside switch
2024-09-08 23:57:24 +02:00
Tau Gärtli
b595a2fe01
De-duplicate test data
2024-09-08 23:57:24 +02:00
Tau Gärtli
3a9c7ad296
Prevent line breaks
2024-09-08 23:57:24 +02:00
Dan Davison
2d7015c774
Fix link
...
Closes #1848
2024-09-06 19:30:08 -04:00
Dan Davison
329ab6376e
Delete unused Makefile target
2024-09-06 19:30:08 -04:00
Tau Gärtli
ba0bfaf9ec
Fix clippy warnings ( #1851 )
...
* Fix non-portable doc comments warning
A line starting with > might be interpreted as a block quote.
In regular markdown this could be prevented by escaping the `>`
using a backslash. However, since the doc comments are used by
clap for the long help more or less verbatim, the `\` would be visible
hence the shuffling around of words.
* Use `.contains()`
2024-09-06 08:39:52 -04:00
Thomas Otto
2d1cb201ab
Handle quoted file paths in hunk headers
...
When core.quotepath is true (the default) then non-ASCII chars
in a file name are quoted. These quotes hide the DIFF_PREFIXES and
"a/1" "b/1" remains as such, instead of becoming "1" "1".
This was interpreted by delta as renamed file. Now these quotes are
removed before the DIFF_PREFIXES are searched.
2024-09-02 23:26:56 +02:00
Justin Su
218af1617f
Fix Catppuccin Latte
name in LIGHT_SYNTAX_THEMES
list ( #1823 )
2024-08-24 14:30:28 -04:00
Dan Davison
85cbe7e9c1
Move AmbiguousDiffMinusCounter to hunk_header ( #1825 )
2024-08-24 08:46:33 -04:00
Dan Davison
b590c0350f
Bump version in download links
2024-08-24 08:42:31 -04:00
Dan Davison
1482d5886c
Bump version
2024-08-24 08:39:06 -04:00
Dan Davison
4500605bca
Don't use a pager for --version ( #1824 )
2024-08-24 08:36:10 -04:00
Sarp User
6fbe197f2d
Added platypus
theme ( #1819 )
...
* Added platypus theme
2024-08-21 21:04:02 -04:00
Dan Davison
1faea3952e
Evolve python hyperlink server example
2024-08-20 11:10:14 -04:00
Dan Davison
95457d30c9
Evolve python hyperlink server example
2024-08-20 11:08:46 -04:00
Dan Davison
9889aedebd
Fix typo in manual
2024-08-20 10:45:35 -04:00