Commit Graph

2005 Commits

Author SHA1 Message Date
Dan Davison 59b4a2ead4 Fix absolute path in diffstat hyperlink when not in root dir 2023-12-10 08:37:40 -05:00
Dan Davison b7fd05eba4 Add workflow_dispatch trigger 2023-11-21 13:23:32 -05:00
Dan Davison 1aa5d91e94 s/master/main/ 2023-11-21 13:20:43 -05:00
Zack Cerza 06b95306ac Make hunk header code fragment display optional (#1568)
Fixes: #1032
2023-11-20 22:18:19 -05:00
plustik 49a99180fe feat: generate completion subcommand (#1561)
* generate-completion subcommand
* add Makefile target and replace completion scripts in repo with generated output
* Add completion to manual
2023-11-19 10:20:52 -05:00
Shun Sakai a5b0ec07cb Update installation instructions for openSUSE (#1550)
In addition to the Tumbleweed, since openSUSE Leap 15.5, git-delta is
available in the official repository.
2023-11-18 10:50:13 -05:00
Fritz Rehde dc692ea796 fixed typos (#1553) 2023-11-18 10:11:11 -05:00
Dan Davison 7375f7a165 Add comment in lieu of test coverage for now 2023-08-13 17:28:38 -04:00
Dan Davison f82e00dee3 Support users other than git in github SSH URLs (#1509)
E.g.
org-123456@github.com:temporalio/api.git
2023-08-13 17:26:10 -04:00
Dan Davison ae26b5497c Fix handling of tabs in grep output (#1507)
Fixes #1501
2023-08-12 22:08:54 -04:00
Dan Davison a48a368b42 Add assertion failure message (#1508) 2023-08-12 20:54:57 -04:00
Dan Davison b134e704fc Shorten workflow name 2023-08-12 20:39:25 -04:00
Qwerty-133 2a9afbe815 Remove the navigation setting from themes. (#1503) 2023-08-12 20:32:40 -04:00
Sondeyy e0eef7decc Improve binary file added output (#1502)
* added binary file cases tests

* add binary file cases handling

* remove unnecessary return and comma
2023-08-05 14:05:09 -04:00
Dan Davison b0aed26ed7 Add documentation for browsing themes. 2023-08-01 08:02:42 -04:00
Dan Davison 0608765f40 Update documentation regarding BAT_PAGER
Ref #1467
2023-07-29 19:38:11 -04:00
ippsav 3c55764215 Fix issue where pager would be set to more or most (#1494)
fix pager env in case of `more/most`
2023-07-29 19:25:02 -04:00
Dan Davison fdaf4bfe1d Revert "Refactor subcommand handling (#1467)"
Fixes #1475

This reverts commit 8d14a1eba3.
2023-07-18 22:00:30 -07:00
Thomas Otto 278cce0e91 Bump clap to v4.3.14 and regenerate Cargo.lock (#1472) 2023-07-17 16:19:44 -05:00
Dan Davison 8d14a1eba3 Refactor subcommand handling (#1467) 2023-07-10 10:12:07 -04:00
nickelc 915662f5da Replace usage of the atty crate with std::io::IsTerminal trait (#1465)
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-07-08 18:00:36 -04:00
Pascal H ff5fd061f4 Fix alignment when author name contains unicode accent modifiers (#1456) 2023-06-23 09:38:40 -04:00
Dan Davison 24c29c37d3 Add link to mellow-barbet terminal config docs 2023-06-21 12:53:44 -04:00
Rohit K Viswanath c05f220ddc Add mellow-barbet theme (#1452)
Add a new theme based on the mellow color scheme: https://kvrohit.dev/mellow
2023-06-21 12:52:18 -04:00
Dan Davison 953af74452 Update bat (#1453) 2023-06-21 10:04:32 -04:00
Dan Davison 01f92de6df Delete notes about unsupported GIT_CONFIG_GLOBAL env var
Should be supported by recent git2
2023-06-03 12:44:05 -04:00
dependabot[bot] 4ab08caf17 Bump serde from 1.0.152 to 1.0.163 (#1415)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.163)

---
updated-dependencies:
- dependency-name: serde
  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 12:43:56 -04:00
dependabot[bot] 79e4ba9ba0 Bump serde_json from 1.0.93 to 1.0.96 (#1391)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.93 to 1.0.96.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.96)

---
updated-dependencies:
- dependency-name: serde_json
  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:44:23 -04:00
dependabot[bot] aa99ea7a49 Bump clap from 4.1.8 to 4.1.14 (#1375)
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.8 to 4.1.14.
- [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/v4.1.8...v4.1.14)

---
updated-dependencies:
- dependency-name: clap
  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:44:01 -04:00
dependabot[bot] e8d4e74c2c Bump dirs from 4.0.0 to 5.0.1 (#1407)
Bumps [dirs](https://github.com/soc/dirs-rs) from 4.0.0 to 5.0.1.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)

---
updated-dependencies:
- dependency-name: dirs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 10:42:04 -04:00
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 0.16.5 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 0.16.4 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 0.16.3 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 0.16.2 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 0.16.1 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