dependabot[bot]
99451ead76
Bump sysinfo from 0.28.2 to 0.29.0 ( #1412 )
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.28.2 to 0.29.0.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 10:41:03 -04:00
dependabot[bot]
09131c8a29
Bump palette from 0.6.1 to 0.7.2 ( #1420 )
...
Bumps [palette](https://github.com/Ogeon/palette ) from 0.6.1 to 0.7.2.
- [Changelog](https://github.com/Ogeon/palette/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Ogeon/palette/compare/0.6.1...0.7.2 )
---
updated-dependencies:
- dependency-name: palette
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 10:38:59 -04:00
dependabot[bot]
03979ae954
Bump chrono from 0.4.23 to 0.4.26 ( #1426 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.23 to 0.4.26.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.23...v0.4.26 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 10:38:39 -04:00
dependabot[bot]
1c37bfa85b
Bump git2 from 0.16.1 to 0.17.2 ( #1422 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.16.1 to 0.17.2.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.2 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 10:38:24 -04:00
Dan Davison
03f1569a9a
Bump version
2023-06-03 10:04:09 -04:00
Dan Davison
3819e94263
Drop grep-header-style option
2023-06-03 10:00:50 -04:00
Dan Davison
a28231aebc
Honor grep-header-decoration-style for ripgrep output
2023-06-03 08:05:11 -04:00
Dan Davison
481d3c1a26
Write directly, not by appending to output buffer
...
This was a bug when a box decoration was subsequently drawn since the
decoration enclosed pending content in the output buffer.
2023-06-03 08:05:11 -04:00
nickelc
d327bad4d5
Fix typo in publishing build job & restore cross-compilation ( #1430 )
...
* 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 2937f3277a
.
- Revert "Delete another failing cross-compilation target"
This reverts commit 4af8adf580
.
- Revert "Delete i686-unknown-linux-gnu job"
This reverts commit eebddddb0a
.
- Revert "Delete arm-unknown-linux-gnueabihf job"
This reverts commit 9a2fa348eb
.
2023-06-03 06:44:29 -04:00
Dan Davison
dda9a87421
Increase number of characters shown in submodule hashes
...
Fixes #1408
2023-06-02 19:40:38 -07:00
Dan Davison
546607fba3
Bump version
2023-06-02 19:21:43 -04:00
Dan Davison
2937f3277a
Delete the remaining failing cross-compilation target
...
https://github.com/dandavison/delta/actions/runs/5160503594/jobs/9296619624
2023-06-02 19:20:45 -04:00
Dan Davison
4cd97cd248
Bump version
2023-06-02 19:15:55 -04:00
Dan Davison
4af8adf580
Delete another failing cross-compilation target
...
https://github.com/dandavison/delta/actions/runs/5160467636/jobs/9296549493
2023-06-02 19:15:00 -04:00
Dan Davison
4597dc4c6b
Bump versions
2023-06-02 19:08:43 -04:00
Dan Davison
eebddddb0a
Delete i686-unknown-linux-gnu job
...
Build failure
https://github.com/dandavison/delta/actions/runs/5160397593/jobs/9296411455
2023-06-02 19:03:02 -04:00
Dan Davison
0662638507
Bump version
2023-06-02 18:57:07 -04:00
Dan Davison
9a2fa348eb
Delete arm-unknown-linux-gnueabihf job
...
error occurred: Failed to find tool. Is `arm-linux-gnueabihf-gcc`
installed?
https://github.com/dandavison/delta/actions/runs/5160233910/jobs/9296084928
2023-06-02 18:47:21 -04:00
Dan Davison
22f40da244
Update --help output
2023-06-02 18:43:38 -04:00
Dan Davison
9072d86111
Update --help output in manual
2023-06-02 18:43:38 -04:00
Dan Davison
52e3c5a536
Bump version in Cargo.lock
2023-06-02 18:43:38 -04:00
Dan Davison
5d29acbd7a
Bump version
2023-06-02 18:22:03 -04:00
Dan Davison
83ca127e9e
Introduce grep-output-type option: ripgrep or classic
2023-06-02 14:36:30 -07:00
Dan Davison
46e44d3ba9
Refactor grep handler
2023-06-02 14:36:30 -07:00
mataha
25df80500a
manual: fix link to using delta
on Windows ( #1428 )
...
Self-explanatory.
2023-05-31 13:54:50 -04:00
Thomas Otto
139cdb9656
Misc tab refactoring ( #1424 )
...
* 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-31 13:17:18 -04:00
Dan Davison
65418aaa3b
Move image
2023-05-25 01:18:59 -04:00
Dan Davison
17686fe632
Update ARCHITECTURE.md
2023-05-24 22:30:54 -04:00
Dan Davison
d92c3ead76
Clean up
2023-05-24 13:50:56 -04:00
William Escande
feec45b5d7
Fix warning highlight for trailing whitespace ( #1037 )
...
Fix #137
2023-05-17 07:32:25 -04:00
Thomas Otto
b3ee8400dd
Fix submodule diff parsing ( #1413 )
...
Added support for an optional -dirty hash suffix which is present
in `git diff` output when files were changed in a submodule.
2023-05-08 16:49:05 -04:00
nickelc
ce41a39bf6
Replace deprecated error_chain
crate with anyhow
( #1405 )
...
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-26 15:07:35 -04:00
Dan Davison
57e7ce5cd5
Move 24-bit color / truecolor tip out of tmux section
2023-04-26 12:12:26 -04:00
nickelc
a1e55ecef3
Improve manual build job ( #1404 )
...
- 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-26 12:00:22 -04:00
nickelc
12fd54e7a8
Downgrade and pin the bytelines
crate ( #1378 )
...
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-26 11:04:15 -04:00
nickelc
d89b357ad3
Remove unneeded extern crate
statements ( #1345 )
2023-04-26 11:01:54 -04:00
Alexander Seiler
37970bd034
Fix some typos ( #1379 )
...
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-04-26 11:00:22 -04:00
nickelc
3e8d1bc9c4
Update bitflags
to 2.2.1 ( #1361 )
...
The `Clone`, `Copy`, `Debug` and `PartialEq` traits are no longer
derived automatically by the macro.
2023-04-26 10:59:38 -04:00
isak102
7d9bfd308a
Clarify how to use delta with tmux
( #1402 )
2023-04-25 08:40:07 -04:00
Dan Davison
8fd64868e8
Add VSCode documentation
2023-04-10 09:28:12 -04:00
Yasin Tatar
b0374564d6
add: installation instructions for conda/mamba ( #1371 )
2023-03-23 13:28:27 -04:00
Johan Walles
e20c10a31b
Add link to walles/riff ( #1362 )
2023-03-19 19:07:44 -04:00
Dan Davison
9b3ff8ae95
Remove manual line-wrapping ( #1350 )
...
Fixes #1316
2023-03-15 05:57:16 -04:00
Dan Davison
23a8070aaf
Improve grep
documentation
2023-03-15 05:54:36 -04:00
nickelc
4058ce12ea
Merge the different GitConfig
constructors for a config file ( #1342 )
...
The `try_create_from_path` function and the `from_path` function for
tests can be merged into a single function.
2023-03-12 06:46:56 -04:00
ILikePlayingGames
85e2f8e490
Add discord-dark theme ( #1334 )
...
* 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-11 05:56:39 -05:00
nickelc
164213501d
Derive the default for enums with #[derive(Default)]
/#[default]
( #1341 )
2023-03-10 08:13:20 -05:00
nickelc
b2f4704d28
Set language specifiers for code blocks and fix links in manual ( #1340 )
...
Plain links need to be enclosed in `<>` to linkify them.
2023-03-10 07:47:17 -05:00
Dan Davison
ffec84e340
Tips and tricks manual section ( #1339 )
...
* Add Tips & tricks section to manual
* Clean up manual
* Reorganize Tips & tricks
2023-03-09 09:08:34 -05:00
nickelc
cf683c8c6d
Rename git_config_entry
module to remote
( #1337 )
...
The `GitConfigEntry` enum has been removed from the module and now only
contains the `GitRemoteRepo` type.
2023-03-09 06:03:51 -05:00