summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-06-03Bump version0.16.5Dan Davison
2023-06-03Drop grep-header-style optionDan Davison
2023-06-03Honor grep-header-decoration-style for ripgrep outputDan Davison
2023-06-03Write directly, not by appending to output bufferDan Davison
This was a bug when a box decoration was subsequently drawn since the decoration enclosed pending content in the output buffer.
2023-06-03Fix typo in publishing build job & restore cross-compilation (#1430)nickelc
* Fix typo in publishing build job This prevented the cross-compilation targets from using the `cross` binary for the compilation. The script evaluated with `${{ matrix.job.cross }}` to: ``` if [[ "" == "true" ]]; then cross build --release --target x86_64-unknown-linux-musl else cargo build --release --target x86_64-unknown-linux-musl fi ``` The correct result for `${{ matrix.job.use-cross }}` is: ``` if [[ "true" == "true" ]]; then cross build --release --target x86_64-unknown-linux-musl else cargo build --release --target x86_64-unknown-linux-musl fi ``` * Restore previously failed cross-compilation targets - Revert "Delete the remaining failing cross-compilation target" This reverts commit 2937f3277a10d660bdb920ee6d5b9f033f6d97ef. - Revert "Delete another failing cross-compilation target" This reverts commit 4af8adf580818b57baa062bb7cd89a1cb72f1fbb. - Revert "Delete i686-unknown-linux-gnu job" This reverts commit eebddddb0a8c41f1225d9cd9a50d70128642623f. - Revert "Delete arm-unknown-linux-gnueabihf job" This reverts commit 9a2fa348eb4470a73790cc24320f1964783264c4.
2023-06-02Increase number of characters shown in submodule hashesDan Davison
Fixes #1408
2023-06-02Bump version0.16.4Dan Davison
2023-06-02Delete the remaining failing cross-compilation targetDan Davison
https://github.com/dandavison/delta/actions/runs/5160503594/jobs/9296619624
2023-06-02Bump version0.16.3Dan Davison
2023-06-02Delete another failing cross-compilation targetDan Davison
https://github.com/dandavison/delta/actions/runs/5160467636/jobs/9296549493
2023-06-02Bump versions0.16.2Dan Davison
2023-06-02Delete i686-unknown-linux-gnu jobDan Davison
Build failure https://github.com/dandavison/delta/actions/runs/5160397593/jobs/9296411455
2023-06-02Bump version0.16.1Dan Davison
2023-06-02Delete arm-unknown-linux-gnueabihf jobDan Davison
error occurred: Failed to find tool. Is `arm-linux-gnueabihf-gcc` installed? https://github.com/dandavison/delta/actions/runs/5160233910/jobs/9296084928
2023-06-02Update --help outputDan Davison
2023-06-02Update --help output in manualDan Davison
2023-06-02Bump version in Cargo.lockDan Davison
2023-06-02Bump version0.16.0Dan Davison
2023-06-02Introduce grep-output-type option: ripgrep or classicDan Davison
2023-06-02Refactor grep handlerDan Davison
2023-05-31manual: fix link to using `delta` on Windows (#1428)mataha
Self-explanatory.
2023-05-31Misc tab refactoring (#1424)Thomas Otto
* Move tabs logic into utils * Re-use buffer returned by tabs::expand * Add TabCfg to configure tabs Use the String from this config for the tab replacement. This avoids creating a new String for each processed line. * Avoid unicode segmentation for each line just to remove a prefix In some code paths no prefix is removed, and in almost all other cases the prefix is just ascii. This simplifies a lot of calls. * Set default tab with to 8 Editors like vim, emacs, nano and most terminal emulators set this value as the default tab display width.
2023-05-25Move imageDan Davison
2023-05-24Update ARCHITECTURE.mdDan Davison
2023-05-24Clean upDan Davison
2023-05-17Fix warning highlight for trailing whitespace (#1037)William Escande
Fix #137
2023-05-08Fix submodule diff parsing (#1413)Thomas Otto
Added support for an optional -dirty hash suffix which is present in `git diff` output when files were changed in a submodule.
2023-04-26Replace deprecated `error_chain` crate with `anyhow` (#1405)nickelc
The `error_chain` crate is now deprecated for a long time and `anyhow` has proven to be a popular replacement for applications. This also improves the current error messages for panics. ``` PAGER='"less' git show thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: \ Error(Msg("Could not parse pager command."), State { next_error: Some(ParseError), \ backtrace: InternalBacktrace })', src/main.rs:136:88 ``` ``` PAGER='"less' git show thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Could not parse pager command. Caused by: missing closing quote', src/main.rs:125:88 ```
2023-04-26Move 24-bit color / truecolor tip out of tmux sectionDan Davison
2023-04-26Improve manual build job (#1404)nickelc
- Only trigger the build if the book has changed. - Split the job into `build` and `deploy` with specific permissions. - Don't build documentation for dependencies. - Deploy to GitHub Pages directly without going through the `gh-pages` branch.
2023-04-26Downgrade and pin the `bytelines` crate (#1378)nickelc
The versions 2.3+ added support for Tokio's `AsyncBufRead` trait and futures' `Stream` trait without making the new dependencies optional. By downgrading `bytelines`, the compilation time can be reduced. ``` $ cargo up -p bytelines --precise 2.2.2 Updating bytelines v2.4.0 -> v2.2.2 Removing bytes v1.4.0 Removing futures v0.3.26 Removing futures-channel v0.3.26 Removing futures-core v0.3.26 Removing futures-executor v0.3.26 Removing futures-io v0.3.26 Removing futures-macro v0.3.26 Removing futures-sink v0.3.26 Removing futures-task v0.3.26 Removing futures-util v0.3.26 Removing pin-project-lite v0.2.9 Removing pin-utils v0.1.0 Removing slab v0.4.8 Removing tokio v1.26.0 ```
2023-04-26Remove unneeded `extern crate` statements (#1345)nickelc
2023-04-26Fix some typos (#1379)Alexander Seiler
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-04-26Update `bitflags` to 2.2.1 (#1361)nickelc
The `Clone`, `Copy`, `Debug` and `PartialEq` traits are no longer derived automatically by the macro.
2023-04-25Clarify how to use delta with `tmux` (#1402)isak102
2023-04-10Add VSCode documentationDan Davison
2023-03-23add: installation instructions for conda/mamba (#1371)Yasin Tatar
2023-03-19Add link to walles/riff (#1362)Johan Walles
2023-03-15Remove manual line-wrapping (#1350)Dan Davison
Fixes #1316
2023-03-15Improve `grep` documentationDan Davison
2023-03-12Merge the different `GitConfig` constructors for a config file (#1342)nickelc
The `try_create_from_path` function and the `from_path` function for tests can be merged into a single function.
2023-03-11Add discord-dark theme (#1334)ILikePlayingGames
* Add discord-dark theme A theme that formats diffs for posting to Discord, using Discord's limited custom ANSI colours * Add spacing and author tag * Update themes.gitconfig Co-authored-by: nickelc <constantin.nickel@gmail.com> * Remove unneeded entries from discord-dark theme --------- Co-authored-by: nickelc <constantin.nickel@gmail.com>
2023-03-10Derive the default for enums with `#[derive(Default)]`/`#[default]` (#1341)nickelc
2023-03-10Set language specifiers for code blocks and fix links in manual (#1340)nickelc
Plain links need to be enclosed in `<>` to linkify them.
2023-03-09Tips and tricks manual section (#1339)Dan Davison
* Add Tips & tricks section to manual * Clean up manual * Reorganize Tips & tricks
2023-03-09Rename `git_config_entry` module to `remote` (#1337)nickelc
The `GitConfigEntry` enum has been removed from the module and now only contains the `GitRemoteRepo` type.
2023-03-09Add methods for getting `GitConfig` as reference (#1336)nickelc
2023-03-08Get git's minus/plus style from config instead of copying it around (#1329)nickelc
2023-03-07Add Winget Releaser workflow (#1331)sitiom
* Add Winget installation in the docs * Add GitHub actions to Dependabot * Add Winget Releaser workflow
2023-03-05Added config option. (#1324)Paolo Insogna
* feat: Added config option.