Commit Graph
2508 Commits
Author SHA1 Message Date
extrawurst 950e703cab fix nightly ci (#2663) 2025-06-07 23:21:34 +02:00
Peer Sommerlund dea3d25bcc Avoid exposing internal tuple in CommitList.marked (#2638)
* Document tuple used in CommitList.marked

* Remove CommitList::marked() to avoid exposing internal structure
2025-05-29 14:12:12 +02:00
extrawurst 69fd7e664c bump git2-hooks version 2025-05-26 23:22:26 +02:00
dependabot[bot]andextrawurst 07cd313087 Bump chrono from 0.4.40 to 0.4.41 (#2629)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.40 to 0.4.41.
- [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.40...v0.4.41)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.41
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <[email protected]>
2025-05-26 23:08:24 +02:00
Christoph Rüßler 2d7d1730ba Use gitoxide in get_commit_info (#2654)
* Implement From<gix::ObjectId> for CommitId

* Use gitoxide in get_commit_info
2025-05-26 23:06:36 +02:00
Christoph Rüßler 7625277953 Have cargo-sort 2.0.1 sort Cargo.toml's (#2653) 2025-05-24 22:14:26 +02:00
extrawurst 849824ab5a new cargo-sort 2025-05-23 20:08:12 +02:00
dependabot[bot]andextrawurst fe5e780719 Bump struct-patch from 0.9.2 to 0.9.4 (#2632)
Bumps [struct-patch](https://github.com/yanganto/struct-patch) from 0.9.2 to 0.9.4.
- [Release notes](https://github.com/yanganto/struct-patch/releases)
- [Commits](https://github.com/yanganto/struct-patch/compare/v0.9.2...v0.9.4)

---
updated-dependencies:
- dependency-name: struct-patch
  dependency-version: 0.9.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <[email protected]>
2025-05-20 11:18:08 +02:00
Christoph Rüßler fa3d751621 Group Dependabot updates (#2647) 2025-05-20 11:16:17 +02:00
Christoph Rüßler 3b22a4f3b9 Simplify code for moving selection (#2645) 2025-05-20 11:15:51 +02:00
Christoph Rüßler 534da90b12 Update scc and sdd to non-yanked versions (#2646) 2025-05-19 10:34:19 +02:00
dependabot[bot] 9fa80bf370 Bump bitflags from 2.9.0 to 2.9.1 (#2642)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.9.0...2.9.1)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-version: 2.9.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-18 14:33:06 +02:00
extrawurst a2e86c2ea3 fix cargo wix install (#2644) 2025-05-18 00:48:17 +02:00
dependabot[bot] 7065812c8d Bump clap from 4.5.37 to 4.5.38 (#2636)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.37 to 4.5.38.
- [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/clap_complete-v4.5.37...clap_complete-v4.5.38)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.38
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 17:49:53 +02:00
dependabot[bot] d9c199500f Bump git2 from 0.20.1 to 0.20.2 (#2633)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.20.1 to 0.20.2.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.20.1...git2-0.20.2)

---
updated-dependencies:
- dependency-name: git2
  dependency-version: 0.20.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 16:54:44 +02:00
dependabot[bot] 0a09c13a61 Bump openssl-sys from 0.9.107 to 0.9.108 (#2631)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.107 to 0.9.108.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.107...openssl-sys-v0.9.108)

---
updated-dependencies:
- dependency-name: openssl-sys
  dependency-version: 0.9.108
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 07:45:00 +02:00
extrawurst 3453e4624d fix nightly 2025-04-30 10:37:38 +02:00
Fatpandac 706cdf9243 feat: file and status tab support pageup and pagedown (#2496) 2025-04-21 20:23:05 +02:00
Lena ee5c243cbf Improve error messages (#2617) 2025-04-21 20:22:25 +02:00
dependabot[bot] ae7b7b0c21 Bump clap from 4.5.36 to 4.5.37 (#2621)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.36 to 4.5.37.
- [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/clap_complete-v4.5.36...clap_complete-v4.5.37)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.37
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 20:20:40 +02:00
extrawurst 1205cd620b Revert "Show cursor on panic (#2620)"
This reverts commit 9056e5e75c.
2025-04-18 10:08:02 +02:00
extrawurst 9271b4116e remove duplicate panic handler 2025-04-18 10:05:23 +02:00
Johannes AgricolaandNaseschwarz 9056e5e75c Show cursor on panic (#2620)
ratatui::Terminal starts by hiding the cursor. If we panic and abort,
that Terminal instance is not dropped, which leaves restoring the cursor
state to us.

Co-authored-by: Naseschwarz <[email protected]>
2025-04-18 09:53:25 +02:00
dependabot[bot]andextrawurst 782ec070b4 Bump once_cell from 1.21.1 to 1.21.3 (#2588)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.21.1 to 1.21.3.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.1...v1.21.3)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <[email protected]>
2025-04-18 09:32:27 +02:00
Johannes AgricolaandNaseschwarz baa1822180 Remove some #[allow]s II (#2616)
Co-authored-by: Naseschwarz <[email protected]>
2025-04-18 09:29:06 +02:00
Johannes Agricola e08d954573 Clean up a few #[allow]s (#2614) 2025-04-16 10:45:08 +02:00
Joshix-1andJohannes Agricola 0e3767102a use gix_path::env::shell() to get the shell in git2-hooks (#2612)
Co-authored-by: Johannes Agricola <[email protected]>
2025-04-16 10:41:14 +02:00
Johannes AgricolaandNaseschwarz 7f88934d05 Bump msrv to 1.81 (#2613)
Co-authored-by: Naseschwarz <[email protected]>
2025-04-16 09:21:06 +02:00
dependabot[bot] 489918eb51 Bump env_logger from 0.11.6 to 0.11.8 (#2610)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.6 to 0.11.8.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.6...v0.11.8)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-version: 0.11.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-16 09:18:43 +02:00
dependabot[bot] 29c8f48bc8 Bump clap from 4.5.35 to 4.5.36 (#2608)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.35 to 4.5.36.
- [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/clap_complete-v4.5.35...clap_complete-v4.5.36)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.36
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-16 09:18:32 +02:00
Joshix-1 711210b97b Run git-hooks more correctly (#2483) 2025-04-15 15:01:39 +02:00
extrawurst 9781608584 upgrade dirs (#2569) 2025-04-15 09:22:50 +02:00
dependabot[bot] 7c41e99f98 Bump shellexpand from 3.1.0 to 3.1.1 (#2607)
Bumps [shellexpand](https://gitlab.com/ijackson/rust-shellexpand) from 3.1.0 to 3.1.1.
- [Commits](https://gitlab.com/ijackson/rust-shellexpand/compare/shellexpand-3.1.0...shellexpand-3.1.1)

---
updated-dependencies:
- dependency-name: shellexpand
  dependency-version: 3.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 08:54:08 +02:00
dependabot[bot]andextrawurst 44d4a8deb1 Bump clap from 4.5.34 to 4.5.35 (#2592)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.34 to 4.5.35.
- [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/clap_complete-v4.5.34...clap_complete-v4.5.35)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <[email protected]>
2025-04-14 09:08:25 +02:00
dependabot[bot] aa513b40e1 Bump ron from 0.9.0 to 0.10.1 (#2601)
Bumps [ron](https://github.com/ron-rs/ron) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/ron-rs/ron/releases)
- [Changelog](https://github.com/ron-rs/ron/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ron-rs/ron/compare/v0.9.0...v0.10.1)

---
updated-dependencies:
- dependency-name: ron
  dependency-version: 0.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:08:12 +02:00
dependabot[bot] f67eed9c9d Bump indexmap from 2.8.0 to 2.9.0 (#2602)
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.8.0 to 2.9.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.8.0...2.9.0)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:08:00 +02:00
dependabot[bot] 670b22eacf Bump struct-patch from 0.9.0 to 0.9.2 (#2604)
Bumps [struct-patch](https://github.com/yanganto/struct-patch) from 0.9.0 to 0.9.2.
- [Release notes](https://github.com/yanganto/struct-patch/releases)
- [Commits](https://github.com/yanganto/struct-patch/compare/v0.9.0...v0.9.2)

---
updated-dependencies:
- dependency-name: struct-patch
  dependency-version: 0.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:07:49 +02:00
dependabot[bot] 741de5fad5 Bump openssl-sys from 0.9.106 to 0.9.107 (#2605)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.106 to 0.9.107.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.106...openssl-sys-v0.9.107)

---
updated-dependencies:
- dependency-name: openssl-sys
  dependency-version: 0.9.107
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:07:37 +02:00
dependabot[bot] 7804ce7004 Bump anyhow from 1.0.97 to 1.0.98 (#2606)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.97...1.0.98)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-version: 1.0.98
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:04:55 +02:00
Peer Sommerlundandextrawurst 313220ae94 Fix #315 run brew test in CI (#2596)
Co-authored-by: extrawurst <[email protected]>
2025-04-11 08:44:49 +03:00
extrawurst e299017e79 crossbeam-channel upgrade 2025-04-11 06:08:26 +03:00
extrawurst eeebb0a647 fix cargo deny advisory warning (#2598) 2025-04-07 18:02:34 +02:00
extrawurst cc907996f4 fix latest clippy (#2597) 2025-04-07 16:06:00 +02:00
7f75307f6e Resolve core.hooksPath relative to GIT_WORK_TREE (#2571)
* Resolve core.hooksPath relative to GIT_WORK_TREE

git supports relative values in core.hooksPath.

`man git-config`:

> A relative path is taken as relative to the directory where the hooks are
> run (see the "DESCRIPTION" section of githooks[5]).

`man githooks`:

> Before Git invokes a hook, it changes its working directory to either
> $GIT_DIR in a bare repository or the root of the working tree in a >
> non-bare repository.

I.e. relative paths in core.hooksPath in non-bare repositories are always
relative to GIT_WORK_TREE.

There is a further exception; I believe this is not considered for path
resolution:

> An exception are hooks triggered during a push (pre-receive, update,
> post-receive, post-update, push-to-checkout) which are always executed
> in $GIT_DIR.

* Favor Repository::workdir() over path().parent()

This more clearly errors in case of bare repositories instead of using
the parent directory of the bare repository.

---------

Co-authored-by: Naseschwarz <[email protected]>
Co-authored-by: extrawurst <[email protected]>
2025-04-04 15:28:44 +02:00
Johannes AgricolaandNaseschwarz 89f73d2ec2 Disable dotted range commit yanking (#2577)
The algorithm for computing marked_consecutive assumes that commits are
consecutive in the commit graph if they are consecutive in the
linearized log used in` commitlist.rs`. That is not universally correct,
as siblings may also be displayed consecutively in this list.

For now, this just removes generating commit lists in dotted range
notation.

Co-authored-by: Naseschwarz <[email protected]>
2025-04-04 15:27:50 +02:00
dependabot[bot] 156381155e Bump clap from 4.5.32 to 4.5.34 (#2585)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.32 to 4.5.34.
- [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/clap_complete-v4.5.32...clap_complete-v4.5.34)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 13:22:09 +08:00
dependabot[bot] 369ea6a140 Bump struct-patch from 0.8.7 to 0.9.0 (#2583)
Bumps [struct-patch](https://github.com/yanganto/struct-patch) from 0.8.7 to 0.9.0.
- [Release notes](https://github.com/yanganto/struct-patch/releases)
- [Commits](https://github.com/yanganto/struct-patch/compare/v0.8.7...v0.9.0)

---
updated-dependencies:
- dependency-name: struct-patch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-26 07:23:23 +01:00
Johannes Agricola 6a884d1388 Consolidate recent theme change docs in THEMES.md (#2575) 2025-03-22 19:43:43 +01:00
Clément 65b57c4b60 feat(ui): Add use_selection_fg flag to control selection foreground color (#2515) 2025-03-22 14:11:54 +01:00
Johannes Agricola dcd9a00ff3 Check cargo sort in make check (#2572)
This is run in CI, so running this offline avoids an unnecessary CI
failure.
2025-03-22 11:53:03 +01:00