summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
9 daysBump console from 0.15.7 to 0.15.8dependabot/cargo/console-0.15.8dependabot[bot]
Bumps [console](https://github.com/console-rs/console) from 0.15.7 to 0.15.8. - [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md) - [Commits](https://github.com/console-rs/console/compare/0.15.7...0.15.8) --- updated-dependencies: - dependency-name: console dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
9 daysclippy (#1686)Dan Davison
9 daystests: prevent parallel env var access (#1681)Thomas Otto
`env::set_var` is not-yet-unsafe, and here tests fail because a var is already set by a second test while the first one is still running. `cargo test -- test_env` with sufficient (auto detected) parallelism triggers this.
9 daysRepair --default-language, and highlight using full filename (#1549)Thomas Otto
* Fix clippy warnings * Repair --default-language, and highlight using full filename Fixed that the "txt" fallback was used instead of --default-language And when looking for syntax highlighting, keep the filename around as long as possible. Using simple custom logic (filename > 4) a Makefile can be highlighted with make syntax, but a 'cc' or 'ini' file does not get treated like a *.cc or *.ini file. Currently the underlying highlighting lib syntect and the sublime syntax definitions can not make this distinction (<http://www.sublimetext.com/docs/syntax.html>).
2024-03-22Add documentation help regarding autodetection and light/dark settingsDan Davison
2024-03-17add .gitattributes rules for rust files (#1245)Phillip Wood
While delta currently removes git's whitespace error markup from diffs adding the whitespace rules will mean pre-commit hooks that run `git diff --check` will reject changes with whitespace errors. In order to get git to print the correct position of the error when there is an unwanted tab in the indent following a space it is necessary to turn off `space-before-tab` otherwise the space will be considered to be an error instead of the tab. The whitespace rule could perhaps be applied more widely but the Makefile and example gitcofig have leading tabs so it is restricted them to just rust files for now.
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