summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-03-14Handle side-by-side differently when assigning line number colors949-line-number-stylesDan Davison
Fixes #949
2022-03-14RefactorDan Davison
2022-03-14Introduce line-numbers-left/right-style = none to mean no column-oriented stylesDan Davison
2022-03-14Change which style applies to the prefix/suffixDan Davison
2022-03-14Don't apply line-number-minus/plus-style to empty cell that is not minus/plusDan Davison
2022-03-14Tweak wrap-max-lines documentationDan Davison
2022-03-14Move wrapping logic and utilities into wrapping moduleDan Davison
2022-03-08Bump unicode-segmentation from 1.8.0 to 1.9.0dependabot[bot]
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases) - [Commits](https://github.com/unicode-rs/unicode-segmentation/commits) --- updated-dependencies: - dependency-name: unicode-segmentation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07Flush minus/plus line buffers in additional code locationsDan Davison
Fixes #1002
2022-03-07Add failing test for #1002Dan Davison
2022-03-07Update help output in manualDan Davison
2022-03-07Bump version in filesDan Davison
2022-03-06Bump git2 from 0.13.23 to 0.14.0dependabot[bot]
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.23 to 0.14.0. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.23...git2-curl-0.14.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06Bump xdg from 2.4.0 to 2.4.1dependabot[bot]
Bumps [xdg](https://github.com/whitequark/rust-xdg) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/whitequark/rust-xdg/releases) - [Commits](https://github.com/whitequark/rust-xdg/compare/v2.4.0...v2.4.1) --- updated-dependencies: - dependency-name: xdg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06Bump version0.12.1Dan Davison
2022-03-01Run in diff mode iff two positional arguments are suppliedDan Davison
Fixes #989
2022-03-01Disable full process scans on LinuxThomas Otto
The env var DELTA_CALLING_PROCESS_QUERY_ALL re-enables this last resort method. However usually this is just an expensive scan which doesn't find the caller anyhow.
2022-03-01Also look at grandparent process when determining the callerThomas Otto
2022-02-27Use assets API from bat library instead of vendored code (#903)Dan Davison
Use assets API from bat library Fixes #895 Ref https://github.com/sharkdp/bat/issues/2026 Thanks @Enselic
2022-02-27ClippyDan Davison
2022-02-26Include information about GIT_PAGER in manual (#991)katy lavallee
under configuration instructions
2022-02-26Create separate "Using delta with tmux" manual entryDan Davison
2022-02-23Fall back to plain diff when process substitution is used (#978)Thomas Otto
When detecting input generated by `delta <(echo foo) <(echo bar)` fall back to plain `diff` instead of `git diff --no-index`. This does not respect various git settings anymore (the original reason to switch from `diff` to `git diff`), but is better than just showing the names of the temporary files.
2022-02-21Enable commit links for GitLab (#972)Johan Wärlander
* Enable commit links for GitLab
2022-02-20Support CSI sequences other than SGR (#976)Yoichi NAKAYAMA
* Define Element::Csi_ for non-SGR sequences * Rename (Csi, Csi_) -> (Sgr, Csi)
2022-02-19Fix parsing for .properties files with `-` in path (#975)Jackson Popkin
Fixes #974.
2022-02-15Clarify language: "in front of" → "before" (#967)Waldir Pimenta
2022-02-15Make git include colors in output going to delta (#966)Dan Davison
Fixes #965
2022-02-14Fix hyperlink absolute paths (#939)0.12.0Dan Davison
Fix file paths and hyperlinks With this commit the target of a hyperlink should always be an absolute path. This should be true for all file hyperlinks, e.g. - File hyperlink - Hunk header hyperlink - Line number hyperlink Fixes #890
2022-02-07Fix unused imports and functions warnings on windowsThomas Otto
Otherwise these warnings clutter the github diff display.
2022-01-25Update color-moved-support.mdchtenb
2022-01-25Contribute zebra featuresChiel ten Brinke
2022-01-25Use sysinfo::Pid as less as possibleGuillaume Gomez
2022-01-25Fix clippy lintsGuillaume Gomez
2022-01-25Update sysinfo version to 0.23Guillaume Gomez
2022-01-25Update original mantis-shrimp, add lite version Abhishek Keshri
Updated some of the colors in the original mantis-shrimp theme. Introduce a new mantis-shrimp-lite version that works well with older terminals that have limited color support and don't play well with hyperlinks
2022-01-22Update --help output in manualDan Davison
2022-01-22Bump versionDan Davison
2022-01-21Document installation from master using homebrewDan Davison
2022-01-21Show blame line numbers via blame-separator-formatThomas Otto
Prefix and suffix of the format string are separator-style highlighted, format options are none, {n}, {n:block}, {n:every-N}.
2022-01-21Placeholder may contain a type fieldThomas Otto
Similar to Pythons `{n:2.1f}` where f indicates a floating point type. The type may be separated by an underscore: `{n:<15.14_type}`. Add a FormatStringPlaceholderDataAnyPlaceholder template which works without a borrowed Placeholder.
2022-01-20Fix broken links in manualDan Davison
Fixes #926
2022-01-19clap: Use term_width(0) instead of term_width(usize::MAX)Dan Davison
0 means "no wrap" https://github.com/clap-rs/clap/issues/3300#issuecomment-1015578541
2022-01-19Prevent clap from switching to multiline format for short helpDan Davison
Ref https://github.com/clap-rs/clap/issues/3300 Fixes #377
2022-01-18Center Align numbers right-ish (#883)Thomas Otto
There is no such thing as "Center Align" with discrete terminal cells. In some cases a decision has to be made whether to use the left or the right cell, e.g. when centering one char in 4 cells: "_X__" or "__X_". The format!() center/^ default is left, but when padding numbers these are now aligned to the right if required. Strings remain left-aligned.
2022-01-18Cwd fixups (#918)Dan Davison
Do cwd computations once only; rename cwd variable
2022-01-17Slight improvement on long cosmetic arg name in help outputDan Davison
2022-01-17More minimizing of cosmetic argument names in help outputDan Davison
2022-01-17Bump clap from 3.0.5 to 3.0.7dependabot[bot]
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.5 to 3.0.7. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.0.5...v3.0.7) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17Construct hyperlink file path relative to cwdDan Davison
Fixes #890