summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-03-17Revert "ws error"1590-ws-error-highlight-workaroundDan Davison
This reverts commit 03609cc4c0d0ec5e391b05677af925ae685761fc.
2024-03-17ws errorDan Davison
2024-03-17Reimplement line_has_style_other_thanDan Davison
2024-03-17Stop highlighting unchanged whitespace (#1659)Phillip Wood
Fix a regression introduced by feec45b (Fix warning highlight for trailing whitespace (#1037), 2023-05-17) where trailing space at the end of an unchanged token is highlighted if the token follows an insertion. This happens because when the token is split in two to separate trailing whitespace the two halves end up being tagged with different edit operations. This can be seen in the test changes in `test_infer_edits_14` and `test_infer_edits_16` introduced by feec45b which changed the operation from `PlusNoop` to `Insertion` when splitting trailing whitespace from unchanged tokens. Fix this by using the same operation when adding both halves of a split token and correcting the tests. Fixes #1658
2024-03-16Link to repository from manual (#1657)Tau
2024-03-16Stop running bump-homebrew-formulaDan Davison
It looks like delta tags/releases are automatically detected: https://github.com/Homebrew/homebrew-core/blob/master/.github/autobump.txt https://github.com/dandavison/delta/actions/runs/8308431801/job/22738650426
2024-03-16Update READMEDan Davison
2024-03-16Bump version0.17.0Dan Davison
2024-03-16Upgrade bat (#1656)Dan Davison
2024-03-16Honor default-language option (#1655)Pawel Dominiak
* Honor default-language option * Add tests for default-language option --------- Co-authored-by: Dan Davison <dandavison7@gmail.com>
2024-03-12Detect Dark/Light Mode from Terminal (#1615)Tau
2024-03-12Preserve "Binary files" line in color_only mode (#1649)Pawel Dominiak
Closes #320
2024-03-11Add `corvus` theme (#1652)Jani
2024-03-04Fix clippy complaintsDan Davison
2024-03-04Update git2 (#1647)Dan Davison
Ref #1548
2024-03-04FormattingDan Davison
2024-03-02use wildcard in suggested true color fix for tmux (#1560)Jonah Caplan
2024-03-02Change Winget Releaser job to `ubuntu-latest` (#1512)sitiom
2024-03-02Update Arch Linux package URL in installation.md (#1569)Felix Yan
The old URL returns 404 now.
2024-03-02Add Catppuccin latte to light syntax themes (#1573)Damir Vandic
2024-03-02Upgrade bytelines to latest (#1597)Isaac Whitfield
2024-03-02Fix headers of modified binary files, closes #1621 (#1629)Paul
2024-03-02Parse filename unambiguously using color escape sequences (#1634)Josh Triplett
* Simplify handle_grep_line via early return Rather than indenting the entire body of the function twice, return early if the conditions aren't met. * Parse filename unambiguously using color escape sequences `git grep`, by default, emits ANSI color escape sequences around the filename, separator, and line number. Parse these if available. This currently assumes the default colors, and will fall back to the previous parsing if any of the colors have been changed. Add tests for filenames that previously failed to parse correctly.
2024-03-02Switch from vte to anstyle-parse (already used in dependencies) (#1638)Josh Triplett
delta already depends indirectly on anstyle-parse through clap. Switch from vte to anstyle-parse to eliminate a few dependencies.
2024-02-19Accept clippy suggestions (#1632)Dan Davison
2024-01-20Bug fix: reset syntax highlighter across grep sections (#1613)Dan Davison
2024-01-19--show-themes exit with error when no themes (#1611)Dan Davison
Fixes #587
2023-12-13feat(theme): add arctic-fox config (#1539)Anthony Halim
2023-12-07Add colibri theme (#1544)Pablo Speciale
2023-11-21Add workflow_dispatch triggerDan Davison
2023-11-21s/master/main/Dan Davison
2023-11-20Make hunk header code fragment display optional (#1568)Zack Cerza
Fixes: #1032
2023-11-19feat: generate completion subcommand (#1561)plustik
* generate-completion subcommand * add Makefile target and replace completion scripts in repo with generated output * Add completion to manual
2023-11-18Update installation instructions for openSUSE (#1550)Shun Sakai
In addition to the Tumbleweed, since openSUSE Leap 15.5, git-delta is available in the official repository.
2023-11-18fixed typos (#1553)Fritz Rehde
2023-08-13Add comment in lieu of test coverage for nowDan Davison
2023-08-13Support users other than git in github SSH URLs (#1509)Dan Davison
E.g. org-123456@github.com:temporalio/api.git
2023-08-12Fix handling of tabs in grep output (#1507)Dan Davison
Fixes #1501
2023-08-12Add assertion failure message (#1508)Dan Davison
2023-08-12Shorten workflow nameDan Davison
2023-08-12Remove the navigation setting from themes. (#1503)Qwerty-133
2023-08-05Improve binary file added output (#1502)Sondeyy
* added binary file cases tests * add binary file cases handling * remove unnecessary return and comma
2023-08-01Add documentation for browsing themes.Dan Davison
2023-07-29Update documentation regarding BAT_PAGERDan Davison
Ref #1467
2023-07-29Fix issue where pager would be set to `more` or `most` (#1494)ippsav
fix pager env in case of `more/most`
2023-07-18Revert "Refactor subcommand handling (#1467)"Dan Davison
Fixes #1475 This reverts commit 8d14a1eba3ca93d6f6ebf3be541b37c6677139a6.
2023-07-17Bump clap to v4.3.14 and regenerate Cargo.lock (#1472)Thomas Otto
2023-07-10Refactor subcommand handling (#1467)Dan Davison
2023-07-08Replace usage of the `atty` crate with `std::io::IsTerminal` trait (#1465)nickelc
Rust 1.70 stabilized the `IsTerminal` trait and the newest version of `grep-cli` crate depending on it, makes it possible to remove the unmaintained `atty` crate from the build. ``` Crate: atty Version: 0.2.14 Warning: unsound Title: Potential unaligned read Date: 2021-07-04 ID: RUSTSEC-2021-0145 URL: https://rustsec.org/advisories/RUSTSEC-2021-0145 ```
2023-06-23Fix alignment when author name contains unicode accent modifiers (#1456)Pascal H