Compare commits

...

1990 commits

Author SHA1 Message Date
WaterWhisperer
8619c07f3f
Open editor in diff view (#2904) 2026-04-10 19:38:29 +01:00
Christoph Rüßler
7c538e3873
Add first snapshot tests using insta (#2813) 2026-04-07 10:33:43 +01:00
extrawurst
b1db21e10a
fix panic when opening submodule (#2896)
this is caused by us dropping the git notify channel and creating a new one when opening the submodule.

closes #2895
2026-03-31 12:38:05 +01:00
extrawurst
1083006a55 cleanup deny ignore
after we finally upgraded ratatui
2026-03-31 12:09:57 +01:00
Jean-Yves LENHOF
693defde15
docs(README): add mise alternative method installation (#2817) 2026-03-29 20:17:28 +01:00
pm100
8b2de1171b
migrate from tui-textarea to ratatui-textarea (#2889) 2026-03-29 00:45:37 +01:00
extrawurst
0cf38b5def
use tombi for toml formatting (#2894) 2026-03-28 21:02:05 +01:00
extrawurst
a57cbf2806 fix changelog 2026-03-25 10:29:03 +01:00
Tillerino
3ad42d23c4
take "error" result from binary search into account (#2767)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2026-03-25 10:27:25 +01:00
extrawurst
e24fb45df1 version bump and formatting 2026-03-25 00:15:29 +01:00
extrawurst
6aeffb4be8 cargo sort 2026-03-21 12:55:31 +00:00
extrawurst
09b68f8f5b more cargo pumps 2026-03-21 12:49:38 +00:00
extrawurst
98e130f8c8 release prep 2026-03-21 12:45:40 +00:00
extrawurst
d47f29effb
update chrono two-face and anyhow (#2881) 2026-03-20 12:47:53 +00:00
Danny Stoll
49555ce966
perf: prevent repeated status fetches in large repos (#2824)
* perf: prevent repeated status fetches in large repos

Replace time-based cache invalidation with a generation counter.

The old `StatusParams` included a millisecond timestamp (tick) in its
hash, causing the cache to invalidate on every UI tick. For large repos
with millions of files, this led to repeated index loading and 5+ minute load times.

This change uses a different strategy to manage cache invalidation:
- Remove tick from StatusParams hash
- Add generation counter that increments after each fetch completes
- Include generation in cache hash

This ensures:
- No repeated fetches while one is already pending, making gitui usable
  in large repos
- New fetch starts immediately after completion, keeping gitui responsive
  in small repos
- External file changes will still be detected on the next fetch cycle

* fix changelog

---------

Co-authored-by: Daniel Stoll <dstoll@radix.trade>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
Co-authored-by: extrawurst <mail@rusticorn.com>
2026-03-20 01:12:14 +00:00
hlsxx
3cf7a818d1
feat: build.rs version message (#2839)
* feat: build.rs version message

* doc: changelog

---------

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2026-03-20 00:35:21 +00:00
extrawurst
b18becdec6
bump env_logger (#2880) 2026-03-20 00:17:31 +00:00
xvchris
06a3f660b2
fix: guard rename/update_url actions against empty remote list (#2870)
* fix: guard rename/update_url actions against empty remote list

The rename_remote() and update_remote_url() event handlers in
RemoteListPopup did not check valid_selection() before indexing
into self.remote_names, causing a panic (index out of bounds)
when no remotes are configured.

The delete_remote() handler already had this guard. This commit
adds the same valid_selection() check to the other two handlers
for consistency.

Fixes #2868
Fixes #2869

* chore: add changelog entry and sort Cargo.toml dependencies

* revert: restore original Cargo.toml formatting
2026-03-19 22:51:09 +00:00
Ang
09d6726675
Fix typos (#2649)
Found via `typos --hidden --format brief`
2026-03-19 22:29:53 +00:00
extrawurst
5d6731326e
Rust msrv bump to 1.88 (#2879) 2026-03-19 18:33:52 +00:00
extrawurst
268d8ab175 fix time CVE 2026-03-19 15:34:03 +00:00
extrawurst
28cd5e7bb2 clippy fixes 2026-03-19 14:13:55 +00:00
dependabot[bot]
e29b9010e5
Bump clap from 4.5.56 to 4.5.57 (#2857)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.56 to 4.5.57.
- [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.56...clap_complete-v4.5.57)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.57
  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>
2026-02-04 07:06:47 -05:00
dependabot[bot]
485708539e
Bump git2 from 0.20.3 to 0.20.4 (#2856)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.20.3 to 0.20.4.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/git2-0.20.4/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.20.3...git2-0.20.4)

---
updated-dependencies:
- dependency-name: git2
  dependency-version: 0.20.4
  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>
2026-02-03 08:04:25 -05:00
dependabot[bot]
84d39309db
Bump clap from 4.5.55 to 4.5.56 (#2855)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.55 to 4.5.56.
- [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.55...clap_complete-v4.5.56)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.56
  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>
2026-01-30 09:54:21 -05:00
dependabot[bot]
96cac13013
Bump clap from 4.5.53 to 4.5.55 (#2854)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.53 to 4.5.55.
- [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.53...clap_complete-v4.5.55)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.55
  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>
2026-01-28 13:29:20 -05:00
Christoph Rüßler
b65de976e6
Fix clippy issues on nightly (#2852)
This fixes issues found by `clippy 0.1.95 (f134bbc78d 2026-01-24)`.
2026-01-25 16:20:23 -05:00
dependabot[bot]
13d75df6cd
Bump gix from 0.77.0 to 0.78.0 (#2849) 2026-01-23 21:05:05 +01:00
dependabot[bot]
054c09a089
Bump thiserror from 2.0.17 to 2.0.18 (#2847)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.17 to 2.0.18.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.17...2.0.18)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-version: 2.0.18
  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>
2026-01-19 14:22:12 -05:00
extrawurst
1c118d75f3
proper pre-push hook implementation (#2811) 2026-01-18 17:37:45 +01:00
dependabot[bot]
7747d829cc
Bump unicode-truncate from 2.0.0 to 2.0.1 (#2846)
Bumps [unicode-truncate](https://github.com/Aetf/unicode-truncate) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Aetf/unicode-truncate/releases)
- [Changelog](https://github.com/Aetf/unicode-truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Aetf/unicode-truncate/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: unicode-truncate
  dependency-version: 2.0.1
  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>
2026-01-16 07:57:22 -05:00
extrawurst
d3dda1ec92
use nextest (#2833) 2026-01-15 17:29:15 -05:00
dependabot[bot]
71208ed570
Bump the cargo-minor group across 1 directory with 2 updates (#2836)
Bumps the cargo-minor group with 2 updates in the / directory: [indexmap](https://github.com/indexmap-rs/indexmap) and [serial_test](https://github.com/palfrey/serial_test).


Updates `indexmap` from 2.12.1 to 2.13.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.12.1...2.13.0)

Updates `serial_test` from 3.2.0 to 3.3.1
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.2.0...v3.3.1)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: serial_test
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-13 11:09:41 -05:00
extrawurst
450caed840 add ignore for another CVE 2026-01-10 12:28:42 -05:00
dependabot[bot]
68ca5701f1
Bump gix from 0.75.0 to 0.77.0 (#2826)
* Bump gix from 0.75.0 to 0.77.0

Bumps [gix](https://github.com/GitoxideLabs/gitoxide) from 0.75.0 to 0.77.0.
- [Release notes](https://github.com/GitoxideLabs/gitoxide/releases)
- [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GitoxideLabs/gitoxide/compare/gix-v0.75.0...gix-v0.77.0)

---
updated-dependencies:
- dependency-name: gix
  dependency-version: 0.77.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adapt to API changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christoph Rüßler <christoph.ruessler@mailbox.org>
2026-01-10 12:07:36 -05:00
dependabot[bot]
d68f366b1b
Bump tempfile from 3.23.0 to 3.24.0 in the cargo-minor group (#2819)
Bumps the cargo-minor group with 1 update: [tempfile](https://github.com/Stebalien/tempfile).


Updates `tempfile` from 3.23.0 to 3.24.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.23.0...v3.24.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-31 10:58:25 -05:00
Christoph Rüßler
7f9aa97ada
Don't stop status iter on error, log warning instead (#2821) 2025-12-31 10:55:31 -05:00
extrawurst
463c411db5 svg logo 2025-12-18 14:41:21 -05:00
extrawurst
18624da9ed
try fixing homebrew ci step (#2814) 2025-12-17 19:13:31 -05:00
extrawurst
050b6ed620 make lfs support 1.0 featre 2025-12-17 19:09:48 -05:00
extrawurst
1099f11ff8 update readme 2025-12-17 19:08:04 -05:00
extrawurst
5527160424 give job needed permissions 2025-12-14 15:43:03 -05:00
extrawurst
4dae9f01d0 try fixing cd 2025-12-14 15:25:08 -05:00
extrawurst
e21ebd0ac8 bump filetreelist 2025-12-14 15:04:00 -05:00
extrawurst
c06235a1d5 bump git2-hooks 2025-12-14 15:01:52 -05:00
extrawurst
dd0c050b63 missing lock file update 2025-12-14 14:58:37 -05:00
extrawurst
197bcb5fc9 version bumps for release 0.28 2025-12-14 14:57:20 -05:00
extrawurst
6d62241c8b Revert "Add snapshot test using insta (#2411)"
This reverts commit e53692e781.
2025-12-08 13:44:18 -05:00
dependabot[bot]
20fec1364f
Bump indexmap from 2.12.0 to 2.12.1 (#2799)
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.12.0 to 2.12.1.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.12.0...2.12.1)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-version: 2.12.1
  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>
2025-12-06 19:27:09 -03:00
extrawurst
feed9ff133 git2 upgrade 2025-12-06 17:59:46 -03:00
dependabot[bot]
b32db3c258
Bump clap from 4.5.51 to 4.5.53 (#2796)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.51 to 4.5.53.
- [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.51...clap_complete-v4.5.53)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.53
  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>
2025-12-06 17:57:45 -03:00
Christoph Rüßler
e53692e781
Add snapshot test using insta (#2411) 2025-12-06 17:52:44 -03:00
dependabot[bot]
b6ce67dad3
Bump easy-cast from 0.5.3 to 0.5.4 (#2798)
Bumps [easy-cast](https://github.com/kas-gui/easy-cast) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/kas-gui/easy-cast/releases)
- [Changelog](https://github.com/kas-gui/easy-cast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kas-gui/easy-cast/compare/0.5.3...0.5.4)

---
updated-dependencies:
- dependency-name: easy-cast
  dependency-version: 0.5.4
  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>
2025-12-06 09:59:48 -03:00
dependabot[bot]
9460a070a6
Bump log from 0.4.28 to 0.4.29 (#2802)
Bumps [log](https://github.com/rust-lang/log) from 0.4.28 to 0.4.29.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.28...0.4.29)

---
updated-dependencies:
- dependency-name: log
  dependency-version: 0.4.29
  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>
2025-12-05 12:22:43 -03:00
0x61nas
e1029b00d1
feat(cli): add the ability to specify a custom keybinding/symbols file via the cli (#2731) 2025-12-01 13:19:33 -03:00
dependabot[bot]
92e3b739d7
Bump ron from 0.11.0 to 0.12.0 (#2797)
Bumps [ron](https://github.com/ron-rs/ron) from 0.11.0 to 0.12.0.
- [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.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: ron
  dependency-version: 0.12.0
  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>
2025-12-01 12:42:32 -03:00
dependabot[bot]
579a8278bb
Bump bytesize from 2.2.0 to 2.3.1 in the cargo-minor group (#2795)
Bumps the cargo-minor group with 1 update: [bytesize](https://github.com/bytesize-rs/bytesize).


Updates `bytesize` from 2.2.0 to 2.3.1
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/compare/bytesize-v2.2.0...bytesize-v2.3.1)

---
updated-dependencies:
- dependency-name: bytesize
  dependency-version: 2.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 09:53:38 -03:00
extrawurst
1e80480122 missing changelog 2025-11-29 09:39:10 -03:00
extrawurst
16fdfc27ea cleanup changelog 2025-11-29 09:34:31 -03:00
extrawurst
3dbf1202a0
cargo updates (#2794) 2025-11-28 19:50:29 -03:00
Fatpandac
3082396bf1
Support choosing checkout branch method when status is not empty (#2494) 2025-11-28 18:36:40 -03:00
dependabot[bot]
0cce6907a2
Bump bytesize from 2.1.0 to 2.2.0 in the cargo-minor group (#2779)
Bumps the cargo-minor group with 1 update: [bytesize](https://github.com/bytesize-rs/bytesize).


Updates `bytesize` from 2.1.0 to 2.2.0
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/compare/bytesize-v2.1.0...bytesize-v2.2.0)

---
updated-dependencies:
- dependency-name: bytesize
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-11-28 18:17:17 -03:00
Christian Zangl
ffa6d9e57b
add cli flag to open files tab with selected file (#2746) 2025-11-28 17:53:07 -03:00
Christoph Rüßler
a6d6f31885
Overwrite committer on amend when gpgsign = false (#2792) 2025-11-28 17:11:22 -03:00
Christoph Rüßler
3de0b23ef2
Take workdir into account in gix_repo (#2789)
* Use gix_repo in get_tags

* Take workdir into account in gix_repo
2025-11-27 12:12:08 -03:00
Christoph Rüßler
8a57155c4d
Add test for gix_repo respecting workdir (#2790) 2025-11-27 07:43:34 -03:00
dependabot[bot]
37d3dd291a
Bump openssl-sys from 0.9.110 to 0.9.111 (#2776)
Bumps [openssl-sys](https://github.com/rust-openssl/rust-openssl) from 0.9.110 to 0.9.111.
- [Release notes](https://github.com/rust-openssl/rust-openssl/releases)
- [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-sys-v0.9.110...openssl-sys-v0.9.111)

---
updated-dependencies:
- dependency-name: openssl-sys
  dependency-version: 0.9.111
  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>
2025-11-12 12:11:15 -03:00
andrea-berling
2ab4143d6b
Add Go to line feature for the blame view (#2262) 2025-11-12 11:57:06 -03:00
xlai89
cb17cfe105
feat: support pre-push hooks (#2737)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-10-31 08:57:27 +01:00
extrawurst
2374e00302
validate path on startup for gix aswell (#2768)
so far we only try to open using the legacy libgit2 based one
2025-10-29 22:07:46 +01:00
dependabot[bot]
844a208506
Bump two-face from 0.4.3 to 0.4.4 (#2764)
Bumps [two-face](https://github.com/CosmicHorrorDev/two-face) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/CosmicHorrorDev/two-face/releases)
- [Changelog](https://github.com/CosmicHorrorDev/two-face/blob/v0.4.4/CHANGELOG.md)
- [Commits](https://github.com/CosmicHorrorDev/two-face/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: two-face
  dependency-version: 0.4.4
  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>
2025-10-29 20:03:16 +01:00
dependabot[bot]
b997820331
Bump backtrace from 0.3.74 to 0.3.76 (#2762)
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.74 to 0.3.76.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Changelog](https://github.com/rust-lang/backtrace-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.74...backtrace-v0.3.76)

---
updated-dependencies:
- dependency-name: backtrace
  dependency-version: 0.3.76
  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>
2025-10-29 18:14:57 +01:00
dependabot[bot]
7265477da1
Bump openssl-sys from 0.9.108 to 0.9.110 (#2760)
Bumps [openssl-sys](https://github.com/rust-openssl/rust-openssl) from 0.9.108 to 0.9.110.
- [Release notes](https://github.com/rust-openssl/rust-openssl/releases)
- [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-sys-v0.9.108...openssl-sys-v0.9.110)

---
updated-dependencies:
- dependency-name: openssl-sys
  dependency-version: 0.9.110
  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>
2025-10-29 18:14:42 +01:00
dependabot[bot]
a3e6dade73
Bump anyhow from 1.0.98 to 1.0.100 (#2758)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.98 to 1.0.100.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.98...1.0.100)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-version: 1.0.100
  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>
2025-10-29 16:17:59 +01:00
dependabot[bot]
6320765f9a
Bump clap from 4.5.38 to 4.5.50 (#2761)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.38 to 4.5.50.
- [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.38...clap_complete-v4.5.50)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.50
  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>
2025-10-29 16:17:46 +01:00
extrawurst
58490961c5
update log (#2766) 2025-10-29 15:27:28 +01:00
extrawurst
1032cccd55
cleanup format strings (#2765) 2025-10-29 13:58:27 +01:00
dependabot[bot]
35fa0ce8d2
Bump struct-patch from 0.9.4 to 0.10.4 (#2759)
Bumps [struct-patch](https://github.com/yanganto/struct-patch) from 0.9.4 to 0.10.4.
- [Commits](https://github.com/yanganto/struct-patch/compare/v0.9.4...v0.10.4)

---
updated-dependencies:
- dependency-name: struct-patch
  dependency-version: 0.10.4
  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>
2025-10-29 13:32:15 +01:00
dependabot[bot]
598a1b5880
Bump chrono from 0.4.41 to 0.4.42 (#2757)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.41 to 0.4.42.
- [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.41...v0.4.42)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.42
  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>
2025-10-29 13:15:25 +01:00
dependabot[bot]
a1db2428d5
Bump notify-debouncer-mini from 0.6.0 to 0.7.0 (#2756)
Bumps [notify-debouncer-mini](https://github.com/notify-rs/notify) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/notify-rs/notify/releases)
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/notify-rs/notify/compare/debouncer-full-0.6.0...debouncer-mini-0.7.0)

---
updated-dependencies:
- dependency-name: notify-debouncer-mini
  dependency-version: 0.7.0
  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>
2025-10-29 12:02:46 +01:00
dependabot[bot]
1a197a7d13
Bump ron from 0.10.1 to 0.11.0 (#2755)
Bumps [ron](https://github.com/ron-rs/ron) from 0.10.1 to 0.11.0.
- [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.10.1...v0.11.0)

---
updated-dependencies:
- dependency-name: ron
  dependency-version: 0.11.0
  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>
2025-10-29 10:27:18 +01:00
Kristoffer Plagborg Bak Sørensen
2ced3f9acc
fix: disable blame and history popup for untracked files (#2489)
* fix: disable blame and history popup for untracked files

An untracked file does not have any history data. Right now when
you press `B` for the blame popup or the `H` for the history popup
you get an empty popup where the title spins endlessly trying to find
the file in the commit history, and show relevant information.
This commit disables the two actions in the `StatusTreeComponent`, when the
selected item is a file which is not tracked by git.

---------

Co-authored-by: extrawurst <mail@rusticorn.com>
2025-10-28 22:41:36 +01:00
extrawurst
7c7698d5a2
cleanup some expects (#2754) 2025-10-28 22:40:44 +01:00
xlai89
eb48b3788f
feat: message tab supports pageup and pagedown (gitui-org#2623) (#2730)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-10-28 19:01:33 +01:00
wugeer
7674dae0cc
fix: When the terminal is insufficient to display all the commands, the cmdbar_bg configuration color does not fully take effect (#2348)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-10-28 18:42:54 +01:00
dependabot[bot]
3e98a40206
Bump which from 7.0.2 to 8.0.0 (#2723)
Bumps [which](https://github.com/harryfei/which-rs) from 7.0.2 to 8.0.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/7.0.2...8.0.0)

---
updated-dependencies:
- dependency-name: which
  dependency-version: 8.0.0
  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>
2025-10-28 18:36:18 +01:00
0x61nas
ec65b372e2
refactor(args.rs): make the flags id slices and the default values as a const (#2733)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-10-28 18:03:48 +01:00
extrawurst
6bb216c0d4
fix warnings and deny deprecated (#2753)
* fix gitoxide warning

* do not allow deprecated fn
2025-10-28 18:03:19 +01:00
linkmauve
88ace76db5
Fix typos (#2740)
Thanks to typos for finding those!

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-10-28 16:35:05 +01:00
linkmauve
26a38183cf
Fix all mismatched_lifetime_syntaxes warnings (#2727) 2025-10-28 16:34:42 +01:00
dependabot[bot]
5f23781c10
Bump the cargo-minor group across 1 directory with 8 updates (#2750)
Bumps the cargo-minor group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [bitflags](https://github.com/bitflags/bitflags) | `2.9.1` | `2.10.0` |
| [bytesize](https://github.com/bytesize-rs/bytesize) | `2.0.1` | `2.1.0` |
| [indexmap](https://github.com/indexmap-rs/indexmap) | `2.9.0` | `2.12.0` |
| [notify](https://github.com/notify-rs/notify) | `8.0.0` | `8.2.0` |
| [rayon-core](https://github.com/rayon-rs/rayon) | `1.12.1` | `1.13.0` |
| [syntect](https://github.com/trishume/syntect) | `5.2.0` | `5.3.0` |
| [rayon](https://github.com/rayon-rs/rayon) | `1.10.0` | `1.11.0` |



Updates `bitflags` from 2.9.1 to 2.10.0
- [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.1...2.10.0)

Updates `bytesize` from 2.0.1 to 2.1.0
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/compare/bytesize-v2.0.1...bytesize-v2.1.0)

Updates `indexmap` from 2.9.0 to 2.12.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.9.0...2.12.0)

Updates `notify` from 8.0.0 to 8.2.0
- [Release notes](https://github.com/notify-rs/notify/releases)
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/notify-rs/notify/compare/notify-8.0.0...notify-8.2.0)

Updates `rayon-core` from 1.12.1 to 1.13.0
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.12.1...rayon-core-v1.13.0)

Updates `serde` from 1.0.219 to 1.0.228
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.228)

Updates `syntect` from 5.2.0 to 5.3.0
- [Release notes](https://github.com/trishume/syntect/releases)
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trishume/syntect/compare/v5.2.0...v5.3.0)

Updates `rayon` from 1.10.0 to 1.11.0
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.0...rayon-core-v1.11.0)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-version: 2.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: bytesize
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: indexmap
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: notify
  dependency-version: 8.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: rayon-core
  dependency-version: 1.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: serde
  dependency-version: 1.0.228
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: syntect
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: rayon
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-10-28 16:34:17 +01:00
Christoph Rüßler
dd475801ae
Restore default for showUntrackedFiles (#2751)
This restores the behaviour of `gitui` <= 0.27.
2025-10-28 15:59:03 +01:00
Christoph Rüßler
db211e5ac7
Update gix from 0.71.0 to 0.74.1 (#2745)
* Update gix from 0.71.0 to 0.74.1

* Bump MSRC from 1.81 to 1.82

This is required by `gitoxide` 0.74.

* Address clippy issues

* Add getrandom and rustix to deny.toml

* Document reasons for ignoring duplicates
2025-10-27 18:37:30 +01:00
extrawurst
e5ebb2239f fix nightly error 2025-10-22 10:47:59 +02:00
linkmauve
180368621e
Print a nicer error when failing to create cache directory (#2728)
Same as in 1d2248571d for the config
directory, when the cache directory fails to get created for whichever
reason, we currently exit gitui with a pretty undescriptive error.

Improves on #2684.
Fixes #2652.
2025-10-09 06:01:37 -03:00
Łukasz Sobczak
1d2248571d
Improve error message on config dir error (#2684) 2025-10-02 21:26:12 -03:00
Christoph Rüßler
f5893d991f
Split cargo group into cargo-minor and cargo-patch (#2719) 2025-09-17 09:50:38 -03:00
Christoph Rüßler
047f1402de
Address clippy issues (#2718) 2025-09-15 16:26:52 -03:00
Christoph Rüßler
60912c0b47
Derive Default per clippy recommendation (#2712) 2025-09-08 16:49:15 +02:00
Christoph Rüßler
8bff603a72
Address clippy issues on nightly (#2707) 2025-09-08 10:31:11 +02:00
Christoph Rüßler
fd46b9a0c1
Use gitoxide for get_tags (#2664) 2025-08-06 14:26:19 -07:00
Christoph Rüßler
fdd5a19d20
Extract GixError (#2687) 2025-08-05 12:55:59 -07:00
Christoph Rüßler
57d7d00701
Fix clippy errors on nightly (#2688) 2025-08-05 10:02:26 -07:00
Christoph Rüßler
6685f9adb3
Use gitoxide in get_status (#2673) 2025-07-28 19:28:02 +02:00
Peer Sommerlund
6d0a2ec115
Minimal docs at module level (#2639) 2025-06-24 09:23:02 +02:00
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]
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
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]
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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 Agricola
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 <naseschwarz@0x53a.de>
2025-04-18 09:53:25 +02:00
dependabot[bot]
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-04-18 09:32:27 +02:00
Johannes Agricola
baa1822180
Remove some #[allow]s II (#2616)
Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
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-1
0e3767102a
use gix_path::env::shell() to get the shell in git2-hooks (#2612)
Co-authored-by: Johannes Agricola <naseschwarz@users.noreply.github.com>
2025-04-16 10:41:14 +02:00
Johannes Agricola
7f88934d05
Bump msrv to 1.81 (#2613)
Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 08:54:08 +02:00
dependabot[bot]
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:04:55 +02:00
Peer Sommerlund
313220ae94
Fix #315 run brew test in CI (#2596)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
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
Johannes Agricola
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 <naseschwarz@0x53a.de>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-04-04 15:28:44 +02:00
Johannes Agricola
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 <naseschwarz@0x53a.de>
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] <support@github.com>
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] <support@github.com>
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
Lena
ad32993721
Support loading custom syntax themes from a file (#2565) 2025-03-20 00:31:09 +01:00
Lena
92ef9f6fde
Respect .mailmap (#2485) 2025-03-19 14:44:02 +01:00
Lena
3ede6b56f1
Set the terminal title to gitui ({repo_path}) (#2484) 2025-03-18 19:23:16 +01:00
extrawurst
5755c096b4 update base64 and ron 2025-03-18 18:59:19 +01:00
vlad-anger
979fa68837
Push with refspec (#2542)
* push: respect `branch.*.merge` when push default is upstream
2025-03-18 18:35:39 +01:00
Johannes Agricola
a91132d187
Bump git2 from 0.20.0 to 0.20.1 (#2567)
* Bump git2 from 0.20.0 to 0.20.1

Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.20.0...git2-0.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Avoid passing reference into struct

git2-rs changed the lifetime of the result of Patch::hunk() to reference
the patch struct:
https://github.com/rust-lang/git2-rs/pull/1141

Thus, returning a patch struct and a reference into it is flagged by the
borrow checker upon move when returning.

This patch avoids returning both alltogether by separating retrieving
and retrieving the patch.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
2025-03-18 09:09:11 +01:00
Vasileios Manolopoulos
597e944af9
Select out of the defaults syntect syntax themes in theme.ron (#2532) 2025-03-16 22:06:28 +01:00
Vasley
4031b0d1a7
Change links to point to gitui-org instead of extrawurst (#2538) 2025-03-16 15:33:28 +01:00
Wessam
4ad2c4b271
Dismiss commit msg key (#2563) 2025-03-16 15:32:43 +01:00
Lena
4ccdeed3a2
Add --logfile (#2539)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-03-16 15:30:02 +01:00
Fatpandac
1f3bd0ff70
add .editorconfig file (#2497)
* chore: add .editorconfig file

* feat: add root config to .editorconfig

Co-authored-by: Johannes Agricola <naseschwarz@users.noreply.github.com>

---------

Co-authored-by: Johannes Agricola <naseschwarz@users.noreply.github.com>
2025-03-16 15:27:31 +01:00
dependabot[bot]
35b2529c52
Bump bitflags from 2.8.0 to 2.9.0 (#2544)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.8.0 to 2.9.0.
- [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.8.0...2.9.0)

---
updated-dependencies:
- dependency-name: bitflags
  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>
2025-03-15 10:07:15 +01:00
dependabot[bot]
9b3a4eb3d8
Bump chrono from 0.4.39 to 0.4.40 (#2540)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.39 to 0.4.40.
- [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.39...v0.4.40)

---
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>
2025-03-15 10:07:03 +01:00
dependabot[bot]
6eafd9ead4
Bump bytesize from 2.0.0 to 2.0.1 (#2545)
Bumps [bytesize](https://github.com/bytesize-rs/bytesize) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/commits/bytesize-v2.0.1)

---
updated-dependencies:
- dependency-name: bytesize
  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>
2025-03-15 09:45:39 +01:00
Johannes Agricola
3c1e35eec7
Copy text using OSC52 (#2548)
* Copy text using OSC52 if X/Wayland methods fail
* Move Wayland/X string copying out of copy_string

Copying logic seems too nested to comprehend with the introcution of two
paths towards OSC52 otherwise.

---------

Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-03-15 09:33:54 +01:00
Johannes Agricola
381ab45d3a
Ignore RUSTSEC-2024-0436 (#2562)
cargo deny reports:

```
ID: RUSTSEC-2024-0436
Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0436
The creator of the crate `paste` has stated in the [`README.md`](https://github.com/dtolnay/paste/blob/master/README.md)
that this project is not longer maintained as well as archived the repository
Announcement: https://github.com/dtolnay/paste
Solution: No safe upgrade is available!
paste v1.0.15
└── ratatui v0.29.0
    ├── gitui v0.27.0
    └── tui-textarea v0.7.0
        └── gitui v0.27.0 (*)
```

In https://github.com/gitui-org/gitui/issues/2554 the decision was made
to ignore this advisory, as ratatui already has removed paste in
https://github.com/ratatui/ratatui/pull/1713 and we are just waiting for
an upstream release.

Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
2025-03-14 22:20:10 +01:00
dependabot[bot]
22aae374f1
Bump once_cell from 1.21.0 to 1.21.1 (#2560)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.21.0 to 1.21.1.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.0...v1.21.1)

---
updated-dependencies:
- dependency-name: once_cell
  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>
2025-03-14 08:41:53 +01:00
dependabot[bot]
0b0d057af4
Bump once_cell from 1.20.3 to 1.21.0 (#2557)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.3 to 1.21.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.3...v1.21.0)

---
updated-dependencies:
- dependency-name: once_cell
  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>
2025-03-11 09:19:19 +01:00
dependabot[bot]
5ad4cb0502
Bump clap from 4.5.31 to 4.5.32 (#2558)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.31 to 4.5.32.
- [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.5.31...clap_complete-v4.5.32)

---
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>
2025-03-11 09:18:57 +01:00
dependabot[bot]
e2558fd33b
Bump indexmap from 2.7.1 to 2.8.0 (#2559)
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.7.1 to 2.8.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.1...2.8.0)

---
updated-dependencies:
- dependency-name: indexmap
  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>
2025-03-11 09:18:37 +01:00
dependabot[bot]
02d8c6bca4
Bump serde from 1.0.218 to 1.0.219 (#2555)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.218 to 1.0.219.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219)

---
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>
2025-03-10 09:54:52 +01:00
extrawurst
7756f0369a fix link 2025-03-09 12:21:09 +01:00
extrawurst
c95cea96af more docs on keycodes 2025-03-09 12:17:58 +01:00
dependabot[bot]
d7e9ffd4f9
Bump thiserror from 2.0.11 to 2.0.12 (#2549)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.11 to 2.0.12.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2025-03-06 08:57:47 +01:00
dependabot[bot]
7cf7a9e408
Bump anyhow from 1.0.96 to 1.0.97 (#2550)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.96...1.0.97)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2025-03-06 08:53:00 +01:00
dependabot[bot]
687d429c6f
Bump clap from 4.5.30 to 4.5.31 (#2536)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.30 to 4.5.31.
- [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.30...v4.5.31)

---
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>
2025-02-26 10:45:15 +01:00
dependabot[bot]
4afcd66754
Bump bytesize from 1.3.2 to 2.0.0 (#2535)
Bumps [bytesize](https://github.com/bytesize-rs/bytesize) from 1.3.2 to 2.0.0.
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/commits)

---
updated-dependencies:
- dependency-name: bytesize
  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>
2025-02-26 10:44:55 +01:00
dependabot[bot]
9fd82f0d43
Bump clap from 4.5.29 to 4.5.30 (#2520)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.29 to 4.5.30.
- [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.29...clap_complete-v4.5.30)

---
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>
2025-02-24 11:39:19 +01:00
dependabot[bot]
7e46e353ae
Bump log from 0.4.25 to 0.4.26 (#2533)
Bumps [log](https://github.com/rust-lang/log) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.25...0.4.26)

---
updated-dependencies:
- dependency-name: log
  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>
2025-02-24 11:36:19 +01:00
extrawurst
6372f815e5 update license 2025-02-24 11:20:42 +01:00
Lena
7f30be88e3
Remove redundant to_str() conversion (#2527) 2025-02-21 09:04:27 +01:00
dependabot[bot]
e611e79274
Bump anyhow from 1.0.95 to 1.0.96 (#2530)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.95 to 1.0.96.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.95...1.0.96)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2025-02-21 09:02:54 +01:00
dependabot[bot]
cb6441220c
Bump serde from 1.0.217 to 1.0.218 (#2529)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.217 to 1.0.218.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218)

---
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>
2025-02-21 09:02:44 +01:00
Lena
338dc2f4de
Improve syntax detection (#2524)
* Improve syntax detection

Currently, gitui prioritizes file extensions for syntax detection.
When a file lacks an extension (e.g. Makefile), or the extension
isn't tied to a specific format (e.g. .lock), it disables syntax
highlighting. Gitui will now try to detect the syntax from the entire
filename and the first line of the file using find_syntax_for_file().

---------

Co-authored-by: extrawurst <mail@rusticorn.com>
2025-02-19 14:13:47 +01:00
dependabot[bot]
cb4294a72b
Bump openssl-sys from 0.9.105 to 0.9.106 (#2519)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.105 to 0.9.106.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.105...openssl-sys-v0.9.106)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2025-02-17 12:16:18 +01:00
dependabot[bot]
498be5fd1c
Bump clap from 4.5.28 to 4.5.29 (#2516)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.28 to 4.5.29.
- [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.28...clap_complete-v4.5.29)

---
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>
2025-02-12 09:51:02 +01:00
dependabot[bot]
8ff4ee3ba9
Bump bytesize from 1.3.1 to 1.3.2 (#2517)
Bumps [bytesize](https://github.com/bytesize-rs/bytesize) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: bytesize
  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>
2025-02-12 09:50:47 +01:00
dependabot[bot]
6ab6418974
Bump bytesize from 1.3.0 to 1.3.1 (#2513)
Bumps [bytesize](https://github.com/bytesize-rs/bytesize) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: bytesize
  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>
2025-02-11 09:43:08 +01:00
Lena
491a95ba39
Update valid colors link in THEMES.md to ratatui (#2511) 2025-02-09 09:46:04 +01:00
dependabot[bot]
85d4399a17
Bump which from 7.0.1 to 7.0.2 (#2508)
Bumps [which](https://github.com/harryfei/which-rs) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/7.0.1...7.0.2)

---
updated-dependencies:
- dependency-name: which
  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>
2025-02-07 13:43:13 +01:00
dependabot[bot]
a19c4c4cd2
Bump once_cell from 1.20.2 to 1.20.3 (#2509)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.2 to 1.20.3.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.2...v1.20.3)

---
updated-dependencies:
- dependency-name: once_cell
  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>
2025-02-07 13:43:02 +01:00
dependabot[bot]
d3fd54c690
Bump two-face from 0.4.2 to 0.4.3 (#2507)
Bumps [two-face](https://github.com/CosmicHorrorDev/two-face) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/CosmicHorrorDev/two-face/releases)
- [Changelog](https://github.com/CosmicHorrorDev/two-face/blob/main/CHANGELOG.md)
- [Commits](https://github.com/CosmicHorrorDev/two-face/compare/v0.4.2...v0.4.3)

---
updated-dependencies:
- dependency-name: two-face
  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>
2025-02-05 08:31:00 +01:00
dependabot[bot]
e3e0189520
Bump clap from 4.5.27 to 4.5.28 (#2506)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.27 to 4.5.28.
- [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.27...clap_complete-v4.5.28)

---
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>
2025-02-04 12:49:52 +01:00
dependabot[bot]
28c2677a75
Bump openssl-sys from 0.9.104 to 0.9.105 (#2504)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.104 to 0.9.105.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.104...openssl-sys-v0.9.105)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2025-02-03 08:46:12 +01:00
tommady
50c6562492
fix: File selector should jump back and highlight unstaged files (#2499)
Co-authored-by: extrawurst <mail@rusticorn.com>
2025-01-29 17:30:20 +01:00
dependabot[bot]
232ad89a4d
Bump two-face from 0.4.1 to 0.4.2 (#2500)
Bumps [two-face](https://github.com/CosmicHorrorDev/two-face) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/CosmicHorrorDev/two-face/releases)
- [Changelog](https://github.com/CosmicHorrorDev/two-face/blob/main/CHANGELOG.md)
- [Commits](https://github.com/CosmicHorrorDev/two-face/compare/v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: two-face
  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>
2025-01-27 17:36:23 +01:00
dependabot[bot]
58b4e2c21e
Bump gix from 0.69.1 to 0.70.0 (#2492)
Bumps [gix](https://github.com/GitoxideLabs/gitoxide) from 0.69.1 to 0.70.0.
- [Release notes](https://github.com/GitoxideLabs/gitoxide/releases)
- [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GitoxideLabs/gitoxide/compare/gix-v0.69.1...gix-v0.70.0)

---
updated-dependencies:
- dependency-name: gix
  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>
2025-01-21 12:07:56 +01:00
dependabot[bot]
2701f48e8a
Bump clap from 4.5.26 to 4.5.27 (#2495)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.26 to 4.5.27.
- [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.26...clap_complete-v4.5.27)

---
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>
2025-01-21 11:58:32 +01:00
dependabot[bot]
4057e01df2
Bump two-face from 0.4.0 to 0.4.1 (#2491)
Bumps [two-face](https://github.com/CosmicHorrorDev/two-face) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/CosmicHorrorDev/two-face/releases)
- [Changelog](https://github.com/CosmicHorrorDev/two-face/blob/main/CHANGELOG.md)
- [Commits](https://github.com/CosmicHorrorDev/two-face/compare/v0.4.0...v0.4.1)

---
updated-dependencies:
- dependency-name: two-face
  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>
2025-01-20 17:30:17 +01:00
dependabot[bot]
92cafb20ef
Bump indexmap from 2.7.0 to 2.7.1 (#2493)
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.7.0 to 2.7.1.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.0...2.7.1)

---
updated-dependencies:
- dependency-name: indexmap
  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>
2025-01-20 17:30:03 +01:00
dependabot[bot]
8ea28a4e86
Bump bitflags from 2.7.0 to 2.8.0 (#2487)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.7.0 to 2.8.0.
- [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.7.0...2.8.0)

---
updated-dependencies:
- dependency-name: bitflags
  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>
2025-01-16 09:30:39 +01:00
dependabot[bot]
9b3bc7b2b9
Bump log from 0.4.22 to 0.4.25 (#2481)
Bumps [log](https://github.com/rust-lang/log) from 0.4.22 to 0.4.25.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.22...0.4.25)

---
updated-dependencies:
- dependency-name: log
  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>
2025-01-15 08:27:24 +01:00
extrawurst
99f6967144 prepare release 2025-01-14 21:03:20 +01:00
imgbot[bot]
36aed540e6
[ImgBot] Optimize images (#2480)
*Total -- 1,282.23kb -> 875.14kb (31.75%)

/assets/add-remote.png -- 129.57kb -> 67.05kb (48.26%)
/assets/gitui-signing.png -- 36.67kb -> 22.29kb (39.22%)
/assets/logo.png -- 55.26kb -> 35.84kb (35.14%)
/assets/syntax-highlighting-blame.png -- 1,060.72kb -> 749.97kb (29.3%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2025-01-13 22:31:37 +01:00
extrawurst
9847fe6e26 polish changelog 2025-01-13 22:29:21 +01:00
extrawurst
7ec62279e8
prepare for rc (#2479) 2025-01-13 22:26:14 +01:00
dependabot[bot]
f505970778
Bump thiserror from 2.0.10 to 2.0.11 (#2478)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.10...2.0.11)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2025-01-13 10:31:03 +01:00
dependabot[bot]
e6a272b499
Bump itertools from 0.13.0 to 0.14.0 (#2461)
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.13.0 to 0.14.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: itertools
  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>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-01-11 11:23:13 +01:00
extrawurst
778ac16cf7
upgrade notify an cleanup advisory (#2475) 2025-01-10 16:16:28 +01:00
extrawurst
01ad0615b2
git2 upgrade (#2473) 2025-01-10 15:28:52 +01:00
extrawurst
89db83839d
Gix upgrade (#2472) 2025-01-10 14:19:27 +01:00
extrawurst
40c79028ff
cargo updates (#2474) 2025-01-10 13:43:08 +01:00
extrawurst
d72617f5c2
some cargo upgrades (#2471) 2025-01-10 12:55:30 +01:00
extrawurst
69fdf90f39 upgrade after warning fix
see https://github.com/yanganto/struct-patch/issues/73
2025-01-10 11:59:53 +01:00
dependabot[bot]
149e8e4c62
Bump bitflags from 2.6.0 to 2.7.0 (#2469)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.6.0 to 2.7.0.
- [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.6.0...2.7.0)

---
updated-dependencies:
- dependency-name: bitflags
  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>
2025-01-10 10:29:08 +01:00
Maksim Bondarenkov
fd0ccfb844
deps: Update cc (#2468)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-01-09 22:20:58 +01:00
dependabot[bot]
378f7fe446
Bump anyhow from 1.0.94 to 1.0.95 (#2455)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.94...1.0.95)

---
updated-dependencies:
- dependency-name: anyhow
  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>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-01-09 21:42:57 +01:00
dependabot[bot]
d72de1d654
Bump env_logger from 0.11.5 to 0.11.6 (#2456)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.5 to 0.11.6.
- [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.5...v0.11.6)

---
updated-dependencies:
- dependency-name: env_logger
  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>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2025-01-09 21:42:45 +01:00
dependabot[bot]
c2795a3819
Bump serde from 1.0.216 to 1.0.217 (#2459)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.216 to 1.0.217.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.216...v1.0.217)

---
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>
2025-01-09 18:04:00 +01:00
dependabot[bot]
c3bdc3ba8e
Bump tempfile from 3.14.0 to 3.15.0 (#2463)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.14.0 to 3.15.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.14.0...v3.15.0)

---
updated-dependencies:
- dependency-name: tempfile
  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>
2025-01-09 18:03:43 +01:00
extrawurst
66af52ae70 rust 1.84 update 2025-01-09 17:38:44 +01:00
dependabot[bot]
27e28d5f51
Bump which from 7.0.0 to 7.0.1 (#2454)
Bumps [which](https://github.com/harryfei/which-rs) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/7.0.0...7.0.1)

---
updated-dependencies:
- dependency-name: which
  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>
2024-12-20 12:10:27 +01:00
dependabot[bot]
0ff55670b7
Bump crossbeam-channel from 0.5.13 to 0.5.14 (#2451)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.13 to 0.5.14.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.13...crossbeam-channel-0.5.14)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  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>
2024-12-16 13:21:09 +01:00
dependabot[bot]
11bae8978d
Bump easy-cast from 0.5.2 to 0.5.3 (#2449) 2024-12-13 09:02:29 +01:00
dependabot[bot]
b50531156c
Bump serde from 1.0.215 to 1.0.216 (#2448)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.215 to 1.0.216.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.216)

---
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>
2024-12-11 12:33:51 +01:00
dependabot[bot]
181ddc5f3f
Bump chrono from 0.4.38 to 0.4.39 (#2446)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.38 to 0.4.39.
- [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.38...v0.4.39)

---
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>
2024-12-10 22:56:47 +01:00
dependabot[bot]
22d3302b53
Bump anyhow from 1.0.93 to 1.0.94 (#2442)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.93...1.0.94)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2024-12-10 22:56:10 +01:00
extrawurst
640bf333fc
Fix ci (#2447) 2024-12-10 09:44:01 +01:00
dependabot[bot]
809cb41668
Bump serial_test from 3.1.1 to 3.2.0 (#2428)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: serial_test
  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>
2024-11-15 10:40:20 +01:00
dependabot[bot]
ea2f5f5ecc
Bump serde from 1.0.214 to 1.0.215 (#2430)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.214 to 1.0.215.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

---
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>
2024-11-15 10:40:02 +01:00
Christoph Rüßler
b49bacfac1
Bump gix from 0.66.0 to 0.67.0 and adapt to API changes (#2422)
* Bump gix from 0.66.0 to 0.67.0

Bumps [gix](https://github.com/GitoxideLabs/gitoxide) from 0.66.0 to 0.67.0.
- [Release notes](https://github.com/GitoxideLabs/gitoxide/releases)
- [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GitoxideLabs/gitoxide/compare/gix-v0.66.0...gix-v0.67.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Adapt to API changes

* Update backtrace

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 09:53:43 +01:00
dependabot[bot]
42f476baaf
Bump anyhow from 1.0.92 to 1.0.93 (#2424)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.92...1.0.93)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2024-11-08 09:48:58 +01:00
dependabot[bot]
7c93ac9545
Bump tempfile from 3.13.0 to 3.14.0 (#2425)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.0)

---
updated-dependencies:
- dependency-name: tempfile
  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>
2024-11-08 09:48:48 +01:00
dependabot[bot]
17118a9b9f
Bump anyhow from 1.0.91 to 1.0.92 (#2417)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.91...1.0.92)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2024-11-04 10:16:34 +01:00
dependabot[bot]
6352cfe5bf
Bump thiserror from 1.0.66 to 1.0.67 (#2416)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.66...1.0.67)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2024-11-04 10:16:22 +01:00
dependabot[bot]
4e40b56587
Bump which from 6.0.3 to 7.0.0 (#2418)
Bumps [which](https://github.com/harryfei/which-rs) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/6.0.3...7.0.0)

---
updated-dependencies:
- dependency-name: which
  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>
2024-11-04 10:16:07 +01:00
Nicholas R. Smith
94924db632
Support "Copy Path" operation in WSL (#2413) 2024-11-02 18:54:33 +01:00
dependabot[bot]
8db448cab3
Bump thiserror from 1.0.65 to 1.0.66 (#2415)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.65 to 1.0.66.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.65...1.0.66)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2024-11-01 10:46:20 +01:00
Christoph Rüßler
9c4bd29fc8
Improve test for env variables (#2409)
* Add test for AsyncLog respecting GIT_DIR

* Mark test as serial

* Mark additional test as serial

* Unwrap result to get more info in error case

---------

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2024-10-29 09:42:25 +01:00
dependabot[bot]
1943988f7e
Bump serde from 1.0.213 to 1.0.214 (#2410)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.213 to 1.0.214.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214)

---
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>
2024-10-29 09:41:51 +01:00
extrawurst
603116f491
ratatui update (#2403) 2024-10-23 09:34:24 +02:00
dependabot[bot]
a923896a62
Bump serde from 1.0.210 to 1.0.213 (#2399)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.210 to 1.0.213.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213)

---
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>
2024-10-23 08:23:13 +02:00
dependabot[bot]
a226611eae
Bump anyhow from 1.0.90 to 1.0.91 (#2401)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.90...1.0.91)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2024-10-23 08:22:36 +02:00
dependabot[bot]
d85c6a7eac
Bump thiserror from 1.0.64 to 1.0.65 (#2400)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2024-10-23 08:22:24 +02:00
Antonio Yang
b4c0244a2a
Bump struct-patch from 0.4.1 to 0.8.6 (#2386) 2024-10-21 09:20:17 +02:00
dependabot[bot]
1346e5594c
Bump anyhow from 1.0.89 to 1.0.90 (#2394)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.90)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2024-10-21 09:19:31 +02:00
extrawurst
1866bf5f89 spaces to tabs 2024-10-18 18:14:21 +02:00
extrawurst
e7be093c39 fix changelog 2024-10-18 18:08:36 +02:00
wugeer
fb1ba7c0b9
feat: help popup display viewing progress (#2388) 2024-10-18 18:07:35 +02:00
extrawurst
ba9adf40f4 fix yanked crate 2024-10-18 18:02:51 +02:00
extrawurst
d7765c4239 fix doc comments to please new rust version lints 2024-10-18 18:02:02 +02:00
extrawurst
c4f517acb5 Revert "Add test for AsyncLog respecting GIT_DIR (#2387)"
This reverts commit 9c433b4de3.
2024-10-17 11:28:40 +02:00
dependabot[bot]
3643e80d5c
Bump openssl-sys from 0.9.103 to 0.9.104 (#2391)
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.103 to 0.9.104.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.103...openssl-sys-v0.9.104)

---
updated-dependencies:
- dependency-name: openssl-sys
  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>
2024-10-16 11:20:13 +02:00
dependabot[bot]
15e444ee3a
Bump ssh-key from 0.6.6 to 0.6.7 (#2390)
Bumps [ssh-key](https://github.com/RustCrypto/SSH) from 0.6.6 to 0.6.7.
- [Commits](https://github.com/RustCrypto/SSH/compare/ssh-key/v0.6.6...ssh-key/v0.6.7)

---
updated-dependencies:
- dependency-name: ssh-key
  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>
2024-10-16 11:19:36 +02:00
Christoph Rüßler
9c433b4de3
Add test for AsyncLog respecting GIT_DIR (#2387) 2024-10-15 20:20:03 +02:00
dependabot[bot]
90a226927b
Bump once_cell from 1.20.1 to 1.20.2 (#2383)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.1 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.1...v1.20.2)

---
updated-dependencies:
- dependency-name: once_cell
  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>
2024-10-07 11:24:49 +02:00
extrawurst
f52586885e git2-hooks version bump 2024-09-30 11:24:06 +02:00
Isaac Corbrey
d98171b2aa
Set CREATE_NO_WINDOW flag when executing Git hooks (#2371) 2024-09-30 11:18:24 +02:00
dependabot[bot]
2a590fd8cc
Bump once_cell from 1.19.0 to 1.20.1 (#2375) 2024-09-30 09:47:30 +02:00
dependabot[bot]
569ed66fc2
Bump tempfile from 3.12.0 to 3.13.0 (#2373) 2024-09-30 09:47:14 +02:00
extrawurst
efa8450bcc bump filetreelist 2024-09-28 12:52:54 +03:00
Fabio Valentini
2c1fce4b48
filetreelist: exclude demo.gif from published crates (#2369)
This reduces download size for the crate from ~900 kB to ~10 kB.
2024-09-28 12:52:12 +03:00
dependabot[bot]
6b588b4d45
Bump thiserror from 1.0.63 to 1.0.64 (#2367) 2024-09-24 10:10:23 +03:00
extrawurst
11a0b9b0b7 fix create-remote 2024-09-18 23:47:12 +02:00
extrawurst
7a51dbec4d some comments 2024-09-18 16:52:25 +02:00
extrawurst
4bb9fc8790 cleanup changelog 2024-09-18 16:47:17 +02:00
Robin
d4f9400e04
Remotes popup (#2350)
Co-authored-by: extrawurst <mail@rusticorn.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2024-09-18 16:31:21 +02:00
extrawurst
2cbeeeda95 rename section for consistency 2024-09-18 16:01:31 +02:00
dependabot[bot]
dd1efee5cf Bump unicode-segmentation from 1.11.0 to 1.12.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.11.0 to 1.12.0.
- [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: unicode-segmentation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 13:38:42 +02:00
dependabot[bot]
02fa24e2f8 Bump pretty_assertions from 1.4.0 to 1.4.1
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.4.0...v1.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 13:38:30 +02:00
extrawurst
9dd3cf30e1 fix crashes for multiline textboxes
for zero width or height terminals
2024-09-17 20:48:04 +02:00
dependabot[bot]
ab75103d00 Bump serde from 1.0.204 to 1.0.210
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.210.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.210)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 13:14:04 +02:00
extrawurst
b5d527bd97 update crossterm and ratatui 2024-09-17 13:13:09 +02:00
extrawurst
3a86cb5ca7 fix warning of yanked release 2024-09-17 12:34:10 +02:00
dependabot[bot]
7a37730076 Bump indexmap from 2.2.6 to 2.5.0
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.6 to 2.5.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 12:24:35 +02:00
extrawurst
f27b58114a fix warning 2024-09-17 12:02:25 +02:00
dependabot[bot]
314b1bd867 Bump tui-textarea from 0.5.2 to 0.5.3
Bumps [tui-textarea](https://github.com/rhysd/tui-textarea) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/rhysd/tui-textarea/releases)
- [Changelog](https://github.com/rhysd/tui-textarea/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rhysd/tui-textarea/compare/v0.5.2...v0.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 11:59:31 +02:00
dependabot[bot]
1580defa29 Bump which from 6.0.2 to 6.0.3
Bumps [which](https://github.com/harryfei/which-rs) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/6.0.2...6.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 11:58:51 +02:00
dependabot[bot]
ea94d3a731 Bump once_cell from 1.19.0 to 1.20.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 11:55:11 +02:00
dependabot[bot]
b958eaeddd Bump anyhow from 1.0.86 to 1.0.89
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.86 to 1.0.89.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.89)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 11:55:00 +02:00
Christoph Rüßler
2b8ef40289
Fix log crashing in subdirectories (#2301)
* Fix log crashing in subdirectories
Replace `gix::open` by `gix::discover`. `gix::open` errors when the
passed directory is not a git repository.
* Add test for AsyncLog in sub-directory
* Respect env variables when discovering repo

---------

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2024-09-17 11:37:52 +02:00
extrawurst
0f5cf893f7 fix fmt 2024-09-11 22:24:32 +02:00
extrawurst
134ef734a4 clippy fix 2024-09-11 21:30:34 +02:00
extrawurst
0a5e2ef1ed gix update 2024-09-11 21:27:14 +02:00
extrawurst
7ad8265c54 git2-hooks version bump 2024-08-24 12:20:17 +08:00
Yerke Tulibergenov
4cb9500cd9 Use default shell instead of bash on Unix-like OS 2024-08-23 18:57:46 +08:00
dependabot[bot]
63a91fd281 Bump tempfile from 3.10.1 to 3.12.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.1 to 3.12.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 01:12:38 +08:00
extrawurst
6c9bb9f616 update binary sizes (closing #2330) 2024-08-08 01:11:51 +08:00
dependabot[bot]
61e52d9bfa Bump which from 6.0.1 to 6.0.2
Bumps [which](https://github.com/harryfei/which-rs) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/6.0.1...6.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 00:38:10 +08:00
dependabot[bot]
0289c82e4e Bump tui-textarea from 0.5.1 to 0.5.2
Bumps [tui-textarea](https://github.com/rhysd/tui-textarea) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/rhysd/tui-textarea/releases)
- [Changelog](https://github.com/rhysd/tui-textarea/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rhysd/tui-textarea/compare/v0.5.1...v0.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 00:34:02 +08:00
dependabot[bot]
4ef633a75a Bump env_logger from 0.11.4 to 0.11.5
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.4 to 0.11.5.
- [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.4...v0.11.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 14:35:24 +07:00
dependabot[bot]
9ecc207270 Bump clap from 4.5.10 to 4.5.11
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.10 to 4.5.11.
- [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.10...clap_complete-v4.5.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 14:35:07 +07:00
extrawurst
b89672b134 rust 1.80 clippy fixes 2024-07-26 13:24:52 +07:00
extrawurst
ce923e6fe4
supply libgit2 with flag to respect env variables (#2299)
closes #2298
2024-07-25 11:16:01 +07:00
dependabot[bot]
7fec560942 Bump clap from 4.5.9 to 4.5.10
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.9 to 4.5.10.
- [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.9...v4.5.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 10:53:06 +07:00
dependabot[bot]
32fbea2870 Bump env_logger from 0.11.3 to 0.11.4
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.3 to 0.11.4.
- [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.3...v0.11.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 10:52:53 +07:00
dependabot[bot]
8e00264943 Bump gix from 0.63.0 to 0.64.0
Bumps [gix](https://github.com/Byron/gitoxide) from 0.63.0 to 0.64.0.
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.63.0...gix-v0.64.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 10:52:29 +07:00
dependabot[bot]
0cb5b781a2 Bump openssl-sys from 0.9.102 to 0.9.103
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.102 to 0.9.103.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.102...openssl-sys-v0.9.103)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 12:23:44 +07:00
dependabot[bot]
341c796ff8 Bump gix-path from 0.10.8 to 0.10.9
Bumps [gix-path](https://github.com/Byron/gitoxide) from 0.10.8 to 0.10.9.
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Byron/gitoxide/compare/gix-path-v0.10.8...gix-path-v0.10.9)

---
updated-dependencies:
- dependency-name: gix-path
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 12:06:29 +07:00
dependabot[bot]
ef45704a3c Bump thiserror from 1.0.62 to 1.0.63
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 11:52:41 +07:00
dependabot[bot]
d7aa8c8924 Bump tui-textarea from 0.5.0 to 0.5.1
Bumps [tui-textarea](https://github.com/rhysd/tui-textarea) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/rhysd/tui-textarea/releases)
- [Changelog](https://github.com/rhysd/tui-textarea/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rhysd/tui-textarea/compare/v0.5.0...v0.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 12:57:26 +07:00
dependabot[bot]
bf4079a8a7 Bump thiserror from 1.0.61 to 1.0.62
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-14 12:11:36 +07:00
extrawurst
d3786992ba cargo update 2024-07-09 09:06:56 +02:00
extrawurst
51ce196d45 missing lock file changes 2024-07-09 09:04:18 +02:00
extrawurst
017ca45aed cargo updates 2024-07-08 23:40:44 +02:00
Christoph Rüßler
d30de223fe
Add LogWalkerWithoutFilter, using gitoxide (#2275)
* Add LogWalkerWithoutFilter, using gitoxide
* Use feature revision for gix

---------

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2024-07-08 09:25:44 +02:00
extrawurst
95bbbda9af ratatui update 2024-07-08 08:52:39 +02:00
dependabot[bot]
72b954a1a5 Bump serde from 1.0.202 to 1.0.204
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.202 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.204)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 08:30:37 +02:00
dependabot[bot]
6ec7eea02b Bump clap from 4.5.7 to 4.5.8
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.7 to 4.5.8.
- [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.7...v4.5.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 08:32:17 +02:00
dependabot[bot]
3229c5d5ed Bump log from 0.4.21 to 0.4.22
Bumps [log](https://github.com/rust-lang/log) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 09:16:28 +02:00
dependabot[bot]
423b5ff3d1 Bump git2 from 0.18.3 to 0.19.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.18.3 to 0.19.0.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 12:45:18 +02:00
dependabot[bot]
5d06aac1ad Bump bitflags from 2.5.0 to 2.6.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.5.0 to 2.6.0.
- [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.5.0...2.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 17:24:57 +02:00
dependabot[bot]
9995a28e54 Bump curve25519-dalek from 4.1.2 to 4.1.3
Bumps [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3)

---
updated-dependencies:
- dependency-name: curve25519-dalek
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 00:34:47 +02:00
extrawurst
038c4a50d1 fix new rust warnings 2024-06-14 21:40:46 +02:00
dependabot[bot]
65410e7293 Bump backtrace from 0.3.71 to 0.3.73
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.71 to 0.3.73.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.71...0.3.73)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 23:23:58 +02:00
dependabot[bot]
f126f7a9f6 Bump clap from 4.5.6 to 4.5.7
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.6 to 4.5.7.
- [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.5.6...v4.5.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 10:39:28 +02:00
dependabot[bot]
cb1e8da619 Bump clap from 4.5.4 to 4.5.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.6.
- [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.4...v4.5.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 09:47:54 +02:00
dependabot[bot]
7f89962f72 Bump unicode-width from 0.1.12 to 0.1.13
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.12 to 0.1.13.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.12...v0.1.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 08:18:12 +02:00
extrawurst
95e1d4d432 release prep 2024-06-02 14:49:32 +02:00
extrawurst
e818a6a35e clarification 2024-06-02 14:49:17 +02:00
extrawurst
7f161d61cd release prep 2024-06-02 14:24:02 +02:00
extrawurst
671c8416e2 support mac x86 release 2024-06-02 14:20:46 +02:00
extrawurst
23d6cbe0f2 use locked on release builds 2024-06-02 14:17:47 +02:00
extrawurst
43fac4f12a fix nightly 2024-06-02 14:08:23 +02:00
extrawurst
09747c2248 document new apple x86 nightly 2024-06-02 14:01:13 +02:00
extrawurst
a89044fd94
Build apple x86 (#2253) 2024-06-02 13:54:32 +02:00
extrawurst
baac3d01be rename for explicity 2024-05-30 16:03:16 +02:00
Caleb Maclennan
d1ebc56bfe
Allow builds from 'git archive' generated tarballs (#2187)
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2024-05-30 15:59:46 +02:00
extrawurst
a085add733 fix typo 2024-05-23 11:19:21 +02:00
extrawurst
ff59eb6c10 unittest more of the color formats
* to ensure noticing if breaking changes happen
* document breaking change in changelog
2024-05-22 17:41:35 +02:00
extrawurst
659ee74b04 cargo update 2024-05-22 11:27:31 +02:00
dependabot[bot]
d3186b5d10 ---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 08:34:19 +02:00
extrawurst
b925155b7f upgrade yanked libc 2024-05-20 17:17:19 +02:00
extrawurst
6ad80ea3a9 update lockfile 2024-05-18 11:39:27 +02:00
extrawurst
dd255837ab release prep 2024-05-18 11:38:55 +02:00
extrawurst
53e9c8d1ef version bump for rc 2024-05-16 19:17:47 +02:00
extrawurst
93fee307d6 version bump 2024-05-16 19:14:32 +02:00
extrawurst
9be28c9af9
Cargo update (#2230) 2024-05-16 18:23:50 +02:00
Bernhard M. Wiedemann
f56844501e
Allow to override build date with SOURCE_DATE_EPOCH (#2202)
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This patch was done while working on reproducible builds for openSUSE.

---------

Co-authored-by: extrawurst <mail@rusticorn.com>
2024-05-16 17:17:58 +02:00
extrawurst
3dca5feeec
ratatui 0.25 update (#2101)
fixes #2098
2024-05-16 17:07:30 +02:00
Bryan Behrenshausen
fa2515343b
add : to signoff trailer (#2197)
fixes #2196
2024-05-16 13:57:51 +02:00
Christoph Rüßler
a92be3be9d
Get default fetch remote from configuration (#2204)
fixes #1093
2024-05-16 12:03:55 +02:00
dependabot[bot]
7651fdba89 Bump anyhow from 1.0.82 to 1.0.83
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.82...1.0.83)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 12:02:56 +02:00
dependabot[bot]
58f5326fb8 Bump serde from 1.0.199 to 1.0.202
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.199 to 1.0.202.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.202)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 12:02:46 +02:00
extrawurst
98e0379736 fix cargo deny deprecation warnings 2024-05-16 12:02:16 +02:00
extrawurst
4fe52dc117 correct fix 2024-05-16 12:01:22 +02:00
extrawurst
b5b2eb6007 fix cargo config warning 2024-05-16 12:01:22 +02:00
dependabot[bot]
1a582dacc4 Bump thiserror from 1.0.58 to 1.0.60
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.58 to 1.0.60.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.60)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 11:46:32 +02:00
dependabot[bot]
be7daa60c5 Bump unicode-width from 0.1.11 to 0.1.12
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.11 to 0.1.12.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 11:20:53 +02:00
extrawurst
6e12c1e974 fix clippy and nightly build 2024-05-16 11:11:05 +02:00
dependabot[bot]
c57543b4f8 Bump two-face from 0.3.0 to 0.4.0
Bumps [two-face](https://github.com/CosmicHorrorDev/two-face) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/CosmicHorrorDev/two-face/releases)
- [Changelog](https://github.com/CosmicHorrorDev/two-face/blob/main/CHANGELOG.md)
- [Commits](https://github.com/CosmicHorrorDev/two-face/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: two-face
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 19:42:29 +02:00
dependabot[bot]
5ad54ee675 Bump unicode-truncate from 0.2.0 to 1.0.0
Bumps [unicode-truncate](https://github.com/Aetf/unicode-truncate) from 0.2.0 to 1.0.0.
- [Release notes](https://github.com/Aetf/unicode-truncate/releases)
- [Changelog](https://github.com/Aetf/unicode-truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Aetf/unicode-truncate/compare/v0.2.0...v1.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 13:32:22 +02:00
dependabot[bot]
c2d23da543 Bump serial_test from 3.0.0 to 3.1.1
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.0.0...v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 13:32:12 +02:00
dependabot[bot]
a61677b9e6 Bump serde from 1.0.198 to 1.0.199
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.198 to 1.0.199.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.199)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 13:31:38 +02:00
dependabot[bot]
64a1e3866e Bump serde from 1.0.197 to 1.0.198
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-21 18:07:21 +02:00
dependabot[bot]
920c28cfd7 Bump chrono from 0.4.37 to 0.4.38
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.37 to 0.4.38.
- [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.37...v0.4.38)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 08:22:12 +02:00
dependabot[bot]
d6ab75399b Bump ssh-key from 0.6.5 to 0.6.6
Bumps [ssh-key](https://github.com/RustCrypto/SSH) from 0.6.5 to 0.6.6.
- [Commits](https://github.com/RustCrypto/SSH/compare/ssh-key/v0.6.5...ssh-key/v0.6.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 08:10:11 +02:00
extrawurst
4fc55a2263 match release notes 2024-04-14 22:23:44 +02:00
extrawurst
7b437d030f comment on 0.26.1 windows only 2024-04-14 22:12:02 +02:00
extrawurst
c55188e462 prepare for release 2024-04-14 22:08:55 +02:00
extrawurst
3de9953dde allow manual cd 2024-04-14 21:43:56 +02:00
extrawurst
218d739b03 fix windows release 2024-04-14 21:42:59 +02:00
extrawurst
4bf1290610 add a release image 2024-04-14 21:33:50 +02:00
extrawurst
a72c62bd82 upgrade like in f27ca92 2024-04-14 21:01:05 +02:00
extrawurst
56e2da3027 remove itch, add discord 2024-04-14 20:57:39 +02:00
extrawurst
f14bf271c7 additional info 2024-04-14 20:56:49 +02:00
extrawurst
f27ca92f10 upgrade ci action 2024-04-14 20:35:42 +02:00
extrawurst
09a2f70c89
Release prep (#2183) 2024-04-14 20:31:05 +02:00
Christoph Rüßler
b08eddb45b
Get default push remote from configuration (#2156) 2024-04-14 12:12:09 +02:00
dependabot[bot]
fe05f93a74 Bump anyhow from 1.0.81 to 1.0.82
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 08:11:20 +02:00
extrawurst
665e99779e update changelog and readme 2024-04-10 11:56:55 +02:00
Antonio Yang
945ec45027
sign with ssh key in disc (#2175) 2024-04-10 11:53:23 +02:00
extrawurst
5d68ea0e39
Reset branch in branch popup (#2171)
allow triggering branch reset from branch popup. closes #2170
2024-04-07 18:12:30 +02:00
extrawurst
5053850433
Update NIGHTLIES.md
Fix links for windows
2024-03-31 12:46:15 +01:00
extrawurst
f91621be09 make necesaary sudo usage more obvious to user 2024-03-31 11:36:34 +01:00
dependabot[bot]
21491bcbca Bump openssl-sys from 0.9.101 to 0.9.102
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.101 to 0.9.102.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.101...openssl-sys-v0.9.102)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 13:50:13 +00:00
dependabot[bot]
188d00159b Bump chrono from 0.4.35 to 0.4.37
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.35 to 0.4.37.
- [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.35...v0.4.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 08:36:00 +00:00
extrawurst
29fb29638f fix win msi naming 2024-03-27 18:00:47 +00:00
extrawurst
48b6c07843 some more changelog entries 2024-03-27 17:38:38 +00:00
extrawurst
44e1c56a1c
provide nightly builds (#2164)
closes #2083
2024-03-27 17:28:31 +00:00
extrawurst
2ec6d632ed encode nightly version, commit, date into binary 2024-03-27 14:24:05 +00:00
extrawurst
0966953050 fix changelog 2024-03-27 14:00:47 +00:00
Martí Homs Soler
3b7b443e2a
syntect additional file type support (#2160)
closes #2005

Co-authored-by: MHS <mhs@histolution.com>
2024-03-27 13:57:37 +00:00
extrawurst
5fafe784d1 rename artifacts for clarity (#2148) 2024-03-27 13:46:54 +00:00
extrawurst
4cc6b459cc Revert "encode nightly version, commit, date into binary"
This reverts commit 89e9f855cb.
2024-03-27 13:02:31 +00:00
extrawurst
89e9f855cb encode nightly version, commit, date into binary 2024-03-27 12:49:53 +00:00
Concelare
92e0face1e
add tests for commitChar filtering (#2151)
adds missing tests for b15c8643c8 (see #2145)
2024-03-26 15:50:13 +00:00
dependabot[bot]
8272b20913 Bump clap from 4.5.3 to 4.5.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.3 to 4.5.4.
- [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.5.3...v4.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 15:43:46 +00:00
dependabot[bot]
ba26a1a664 Bump indexmap from 2.2.5 to 2.2.6
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.5 to 2.2.6.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 01:35:12 -07:00
dependabot[bot]
bb2640e893 Bump which from 6.0.0 to 6.0.1
Bumps [which](https://github.com/harryfei/which-rs) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/6.0.0...6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-24 23:01:35 -07:00
dependabot[bot]
9d94b9f600 Bump rayon from 1.9.0 to 1.10.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.9.0...rayon-core-v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-24 22:57:48 -07:00
ZingyAwesome
ef6abbba0f
Fix typo in commit.rs (#2150) 2024-03-24 15:14:07 -07:00
extrawurst
3342544dfb update readme now that gpgsign is there 2024-03-24 13:24:15 -07:00
extrawurst
6515831c95 more changelog details 2024-03-24 13:13:26 -07:00
extrawurst
93959aff5d fix changelog entry 2024-03-24 13:11:15 -07:00
Hendrik Maus
5b3e2c9ae3
Support git commit signing using OpenPGP (#1544)
* Support git commit signing using OpenPGP
* workaround for amending signed commits
* workaround for rewording signed commits
* support signing initial commit
* return both signature and signature_field value from sign

---------

Co-authored-by: Utkarsh Gupta <utkarshgupta137@gmail.com>
2024-03-24 13:08:28 -07:00
Michael
5131aba138
Make MsgPopup scrollable (#2120) 2024-03-24 12:57:59 -07:00
extrawurst
540a95c160 fix failing to commit since b15c864
(if it would not find core.commitComment config)
2024-03-24 12:54:00 -07:00
extrawurst
9c8c802b20 fix nightly clippy 2024-03-24 12:50:56 -07:00
extrawurst
76814a36e3 update yanked 2024-03-24 12:42:35 -07:00
Christoph Rüßler
7d8b7c9239
Add CONTRIBUTING.md (#2121) 2024-03-24 12:40:39 -07:00
Concelare
b15c8643c8
Git Config Commit Comments (#2145)
Closes #2136
2024-03-22 15:12:08 -07:00
extrawurst
3d06b54d2c update changelog for 0.25.2 2024-03-22 12:58:56 -07:00
extrawurst
f9ebba3043 fix another github action warning 2024-03-22 12:57:43 -07:00
extrawurst
205555916c upgrade version 2024-03-22 12:32:55 -07:00
extrawurst
3db4425b98 prepare release 2024-03-22 12:23:06 -07:00
extrawurst
a4e08834e2 preapre for release 2024-03-22 12:20:57 -07:00
extrawurst
512f2f439e changelog 2024-03-22 12:19:03 -07:00
extrawurst
bb92067b19
fixes tag annotation being broken in 0.25 (#2139)
fixes #2126
2024-03-22 12:18:05 -07:00
extrawurst
dddb35ac15 update changelog 2024-03-22 12:14:59 -07:00
martihomssoler
f40d368069 fix: 2114 2024-03-22 12:13:14 -07:00
dependabot[bot]
b7b7705df2 Bump backtrace from 0.3.69 to 0.3.70
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.69 to 0.3.70.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.70)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 23:03:10 -07:00
Concelare
5dd1852dd3 Fixed:
- Cargo clippy errors

Updated:
- Ran cargo clippy --fix
- Ran cargo fmt
2024-03-21 23:01:02 -07:00
extrawurst
02dfae7bd4 cargo updates 2024-03-19 18:07:05 -07:00
extrawurst
96116ce405 cargo update 2024-03-19 18:03:30 -07:00
extrawurst
1a1c948020 todo 2024-03-19 17:56:42 -07:00
extrawurst
b43c4c05f6 update changelog 2024-03-19 17:43:38 -07:00
Trung Tran
99b9a38fb3 fix: index out of bounds when blaming a file ending with a blank line (#2130) 2024-03-20 01:37:59 +01:00
dependabot[bot]
baddec0e39 Bump bitflags from 2.4.2 to 2.5.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.4.2 to 2.5.0.
- [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.4.2...2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 08:52:05 +01:00
dependabot[bot]
0fba25506a Bump clap from 4.5.2 to 4.5.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.2 to 4.5.3.
- [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.5.2...v4.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 08:18:45 +01:00
extrawurst
0ab1ff8625 fix chrono deprecations 2024-03-13 11:00:31 +01:00
dependabot[bot]
2274d7c22f Bump thiserror from 1.0.57 to 1.0.58
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 09:58:29 +01:00
dependabot[bot]
43e44bf02a Bump anyhow from 1.0.80 to 1.0.81
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 09:58:13 +01:00
Charlie
21810a4df6 Fix typo in FAQ.md 2024-03-08 11:59:43 +01:00
Juan
43af49bab4
Remove unused clippy warning suppression (missing_const_for_fn) (#2115) 2024-03-07 20:08:28 +01:00
dependabot[bot]
f130cd5068 Bump clap from 4.5.1 to 4.5.2
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.1 to 4.5.2.
- [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.1...v4.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 09:47:52 +01:00
dependabot[bot]
ba5d89595e Bump chrono from 0.4.34 to 0.4.35
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.34 to 0.4.35.
- [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.34...v0.4.35)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 09:47:38 +01:00
dependabot[bot]
f68aba0ffa Bump env_logger from 0.11.2 to 0.11.3
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.2 to 0.11.3.
- [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.2...v0.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 08:41:56 +01:00
dependabot[bot]
7556282f17 Bump simplelog from 0.12.1 to 0.12.2
Bumps [simplelog](https://github.com/drakulix/simplelog.rs) from 0.12.1 to 0.12.2.
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/drakulix/simplelog.rs/compare/v0.12.1...v0.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 07:28:21 +01:00
dependabot[bot]
7cda59d87e Bump mio from 0.8.10 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 23:30:26 +01:00
dependabot[bot]
3b7e1f921a Bump indexmap from 2.2.4 to 2.2.5
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.4 to 2.2.5.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.4...2.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 08:49:19 +01:00
dependabot[bot]
3397ab5c75 Bump log from 0.4.20 to 0.4.21
Bumps [log](https://github.com/rust-lang/log) from 0.4.20 to 0.4.21.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.20...0.4.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 07:57:15 +01:00
dependabot[bot]
e3b036daa5 Bump indexmap from 2.2.3 to 2.2.4
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.3 to 2.2.4.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.3...2.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 07:56:54 +01:00
dependabot[bot]
04d3587be2 Bump crossbeam-channel from 0.5.11 to 0.5.12
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.11 to 0.5.12.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.11...crossbeam-channel-0.5.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 07:56:30 +01:00
dependabot[bot]
7de1adc476 Bump rayon from 1.8.1 to 1.9.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.1 to 1.9.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.1...rayon-core-v1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 14:00:23 +01:00
dependabot[bot]
aa54d6f8a6 Bump tempfile from 3.10.0 to 3.10.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.0 to 3.10.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 08:31:35 +01:00
extrawurst
11401872b5 git2-hooks wnaring fixes
and more clippy checks
2024-02-23 18:38:02 +01:00
extrawurst
e65d25da60 another ci update 2024-02-23 18:01:53 +01:00
extrawurst
8008e04c6b prep for release 2024-02-23 17:40:57 +01:00
extrawurst
b39a24db06 update changelog 2024-02-23 17:37:46 +01:00
extrawurst
f4d4a5e086 lock in release build 2024-02-23 17:33:52 +01:00
extrawurst
fd79b2d5e3 update ci to msrv 2024-02-23 17:29:51 +01:00
extrawurst
598cc778d4 update openssl-sys fixing always rebuilding 2024-02-22 00:23:20 +01:00
Joshix-1
d6818ecc1a Fix CHANGELOG.md
uppsi
2024-02-21 22:14:41 +01:00
Anas
c629070ea5
fix: fix typos (#2092) 2024-02-21 21:27:33 +01:00
extrawurst
5cff3221a1 pin ratatui release 2024-02-21 17:30:23 +01:00
extrawurst
456d50919c honor contrubtors in readme 2024-02-21 17:30:12 +01:00
extrawurst
4da1cc4473 make cargo install command more clear
see https://github.com/extrawurst/gitui/issues/2079#issuecomment-1957170943
2024-02-21 17:29:51 +01:00
Mo
8876c1d0f6 Remove references to bit flags 2024-02-21 16:31:56 +01:00
extrawurst
2a2f914839 bump dependency that got yanked
fixes #2087
2024-02-21 16:04:19 +01:00
extrawurst
7bf65f4835 documentation of breaking changes to key bindings 2024-02-21 15:49:18 +01:00
extrawurst
3f69f5fe62
Action updates (#2085) 2024-02-21 13:03:53 +01:00
extrawurst
9f0ef851b2
Prep release 25 (#2082) 2024-02-21 11:27:45 +01:00
Sainath Singineedi
fa051eff5a
feat: add branch name validation on renaming (#2081)
Closes #2062 

---------

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2024-02-21 00:09:53 +01:00
extrawurst
a50a478c1a do not panic if invalid repo
fixes #2064
2024-02-20 22:14:48 +01:00
extrawurst
2bbaa6f3a1 fix a bunch more typos 2024-02-20 19:51:05 +01:00
extrawurst
5dad9f4adb
cancel commit search (#2078)
closes #1860

Co-authored-by: StemCll <lydjotj6f@mozmail.com>
2024-02-20 19:07:25 +01:00
extrawurst
762b889b48
better theme file handling (#2077)
* better theme file handling
* print all possible err of loading theme

closes #2007
2024-02-20 18:52:35 +01:00
extrawurst
2b39c6465a ratatui 0.24 update 2024-02-20 15:41:31 +01:00
extrawurst
45c34e5675
fix infinite spinner (#2075)
af9da95 introduced pending work to always be true
2024-02-20 11:56:37 +01:00
dependabot[bot]
1a6f82b71b Bump anyhow from 1.0.79 to 1.0.80
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.80)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 10:13:52 +01:00
dependabot[bot]
720e5debb8 Bump serde from 1.0.196 to 1.0.197
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 10:13:37 +01:00
dependabot[bot]
8fb6f23ff3 Bump openssl-sys from 0.9.99 to 0.9.100
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.99 to 0.9.100.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.99...openssl-sys-v0.9.100)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 10:12:33 +01:00
extrawurst
e2590f79bd
better default for single line textinput size (#2070) 2024-02-20 09:43:15 +01:00
extrawurst
286283d3ed cleanup license checks 2024-02-19 22:37:18 +01:00
extrawurst
90a109b1dd allow fetch in both tabs of branch list 2024-02-19 22:16:42 +01:00
extrawurst
8b665a43fc update changelog with image of syntax in blame 2024-02-19 21:44:18 +01:00
extrawurst
f0f90a88f1 print theme path in error message too 2024-02-19 21:35:26 +01:00
extrawurst
1cb821cd51 fix ci 2024-02-19 21:32:08 +01:00
extrawurst
cae864a188 fix nigtly 2024-02-19 21:24:09 +01:00
extrawurst
e22cc70a7d
moving popups in its own module (#2066) 2024-02-19 17:18:30 +01:00
Trung Tran
af9da95178 add syntax highlighting for blame view (#745) 2024-02-19 17:15:03 +01:00
extrawurst
ab95b98ef8
allow pushing to empty repo (#2063)
closes #1919
2024-02-19 15:46:39 +01:00
extrawurst
be10d9096a print theme loading errors into log (#2056) 2024-02-19 12:52:17 +01:00
extrawurst
acf4661c1e fix nighty and raise msrv 2024-02-19 11:36:38 +01:00
extrawurst
e7bc4084da update docs to new bitflags serialization 2024-02-19 11:34:18 +01:00
extrawurst
f1da79b4b2 fix panics not shown on cli (closes #2049) 2024-02-18 14:01:44 +01:00
extrawurst
f4a7034a9a allow customizing color of focused title bar 2024-02-18 13:54:55 +01:00
extrawurst
e1f243d8fb wording 2024-02-18 12:48:11 +01:00
extrawurst
825935ba4f
Multiline TextEdit cleanups (#2053)
* change commit default binding
* animated gif of multiline text edit
* update changelog
* fix style of default text
* textinput should not need to know about its users
* fix branch create popup
2024-02-18 12:44:44 +01:00
pm100
b9a2e131f2
tui textarea (#2051) 2024-02-18 10:24:18 +01:00
extrawurst
3439862854 cargo update 2024-02-18 10:18:19 +01:00
extrawurst
89ce540653 fix all places of single line textinput 2024-02-15 21:47:03 +01:00
extrawurst
84d855d242
move audit checks to cargo-deny (#2048)
* move audit checks to cargo-deny
* remove separate sec audit step using old auditing
2024-02-14 11:32:16 +01:00
dependabot[bot]
1b8f9772f4 Bump env_logger from 0.11.1 to 0.11.2
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.1 to 0.11.2.
- [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.1...v0.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 11:31:56 +01:00
Joshix-1
7335cd1c5d
fix sorting of commits in diff view (#1747) 2024-02-12 20:33:46 +01:00
extrawurst
1fa6f9b725 update license 2024-02-12 17:31:03 +01:00
extrawurst
4c33ee4859
New Logo with outline (#2044) 2024-02-12 17:28:01 +01:00
dependabot[bot]
61ee3fd695 updates and fixes 2024-02-12 12:55:10 +01:00
Alexandru Macovei
0383f9517b (refactor) shorten component creation by grouping common items in an Environment 2024-02-12 12:55:10 +01:00
extrawurst
5259fd90b3 dump out release bin size 2024-02-12 12:03:31 +01:00
extrawurst
8bdba9ce7c cargo update 2024-02-12 12:00:24 +01:00
extrawurst
673edd8f2d
cargo updates (#1856)
closes #1781
2024-02-12 11:53:22 +01:00
dependabot[bot]
d5f88df88a Bump clap from 4.4.18 to 4.5.0
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.18 to 4.5.0.
- [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.4.18...clap_complete-v4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-11 18:45:55 +01:00
dependabot[bot]
0a3736e765 Bump unicode-segmentation from 1.10.1 to 1.11.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.10.1 to 1.11.0.
- [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/v1.10.1...v1.11.0)

---
updated-dependencies:
- dependency-name: unicode-segmentation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 22:48:02 +00:00
dependabot[bot]
961b731c59 Bump itertools from 0.12.0 to 0.12.1
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.12.0 to 0.12.1.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.0...v0.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 08:17:15 +01:00
dependabot[bot]
c30eb7c0a8 Bump chrono from 0.4.32 to 0.4.33
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.32 to 0.4.33.
- [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.32...v0.4.33)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 09:42:26 +01:00
extrawurst
4f89ad5be4 strip debug symbols in release 2024-01-25 16:04:18 +01:00
extrawurst
1487fe3433 remove obsolete donation methods 2024-01-24 10:25:48 +01:00
dependabot[bot]
b0922080e3 Bump openssl-sys from 0.9.98 to 0.9.99
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.98 to 0.9.99.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.98...openssl-sys-v0.9.99)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 08:45:04 +01:00
dependabot[bot]
9b00036937 Bump chrono from 0.4.31 to 0.4.32
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.31 to 0.4.32.
- [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.31...v0.4.32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 08:44:33 +01:00
dependabot[bot]
21ce2015a0 Bump anyhow from 1.0.78 to 1.0.79
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.78...1.0.79)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 15:33:31 +01:00
dependabot[bot]
4fec18fa4e Bump clap from 4.4.14 to 4.4.18
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.14 to 4.4.18.
- [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.4.14...v4.4.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 15:33:09 +01:00
dependabot[bot]
f21c05bd00 Bump env_logger from 0.10.1 to 0.10.2
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.1 to 0.10.2.
- [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.10.1...v0.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 14:49:04 +01:00
dependabot[bot]
f6497140fa Bump rayon from 1.8.0 to 1.8.1
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.0 to 1.8.1.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 14:48:48 +01:00
dependabot[bot]
e34a4f82ea Bump rayon-core from 1.12.0 to 1.12.1
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.12.0 to 1.12.1.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.12.0...rayon-core-v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 14:48:31 +01:00
dependabot[bot]
0beff5c569 Bump crossbeam-channel from 0.5.10 to 0.5.11
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.10...crossbeam-channel-0.5.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 07:16:08 +01:00
dependabot[bot]
975e881d83 Bump clap from 4.4.11 to 4.4.14
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.11 to 4.4.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.4.11...v4.4.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 07:15:43 +01:00
dependabot[bot]
307d38ccc9 Bump anyhow from 1.0.77 to 1.0.78
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.77 to 1.0.78.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.77...1.0.78)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 10:59:58 +01:00
dependabot[bot]
32d0a5c516 Bump anyhow from 1.0.76 to 1.0.77
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.76 to 1.0.77.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.76...1.0.77)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-27 08:38:05 +01:00
dependabot[bot]
d9ccd9e5d3 Bump openssl-sys from 0.9.97 to 0.9.98
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.97 to 0.9.98.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.97...openssl-sys-v0.9.98)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 15:23:06 +01:00
dependabot[bot]
8940c472ca Bump crossbeam-channel from 0.5.9 to 0.5.10
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.9...crossbeam-channel-0.5.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 15:22:34 +01:00
extrawurst
99c705eaa7 fix stashing tab empty (closes #1986) 2023-12-22 17:22:55 +01:00
dependabot[bot]
55d316fad9 Bump anyhow from 1.0.75 to 1.0.76
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.75 to 1.0.76.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.76)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 09:42:53 +01:00
extrawurst
e7c61ffc89
Support prepare commit hook (#1978) 2023-12-16 00:07:54 +01:00
dependabot[bot]
7b7c5c4131 Bump crossbeam-channel from 0.5.8 to 0.5.9
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.8...crossbeam-channel-0.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 08:45:24 +01:00
extrawurst
521ab91309
git2-hooks: allows customizing what places to look for hooks (#1975)
* allows customizing what places to look for hooks
2023-12-08 14:33:22 +01:00
dependabot[bot]
fd400cfcc7 Bump once_cell from 1.18.0 to 1.19.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 09:13:36 +01:00
extrawurst
a6416b914d
Cleanup hooks (#1972)
* cleanup errors
* cleaner repo structure
* added docs
2023-12-07 17:22:07 +01:00
extrawurst
d4dd58f6ca
move git hooks support into separate crate (#1971)
* unique error type name
* git2 dependency future 
* return hook out/err separately
2023-12-07 16:28:52 +01:00
dependabot[bot]
fabed3238b Bump openssl-sys from 0.9.96 to 0.9.97
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.96 to 0.9.97.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.96...openssl-sys-v0.9.97)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 09:26:04 +01:00
dependabot[bot]
53834f2415 Bump clap from 4.4.10 to 4.4.11
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.10 to 4.4.11.
- [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.4.10...v4.4.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 09:25:43 +01:00
extrawurst
83df6ddbc8 test that proved hook has access to PATH (#1967) 2023-12-02 13:21:33 +01:00
dependabot[bot]
91242e574a Bump clap from 4.4.9 to 4.4.10
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.9 to 4.4.10.
- [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.4.9...v4.4.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 09:02:30 +01:00
extrawurst
c39eb93736 fix ci 2023-11-28 09:24:58 +01:00
dependabot[bot]
408e2caca4 Bump clap from 4.4.8 to 4.4.9
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.8 to 4.4.9.
- [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.4.8...v4.4.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 08:09:43 +01:00
extrawurst
bcf9bac934 simplify implementation 2023-11-27 16:21:04 +01:00
dependabot[bot]
d576405223 Bump url from 2.4.1 to 2.5.0
Bumps [url](https://github.com/servo/rust-url) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.4.1...v2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-23 09:27:05 +01:00
dependabot[bot]
77d1660066 Bump openssl-sys from 0.9.95 to 0.9.96
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.95 to 0.9.96.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.95...openssl-sys-v0.9.96)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-23 09:26:30 +01:00
Felix Yan
4a0930ae02 Update Arch Linux package URL in README.md 2023-11-21 10:46:20 +01:00
dependabot[bot]
25cdc198d2 Bump itertools from 0.11.0 to 0.12.0
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.11.0 to 0.12.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 09:07:18 +01:00
dependabot[bot]
9850d02f7d Bump env_logger from 0.10.0 to 0.10.1
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.0 to 0.10.1.
- [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.10.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 16:34:30 +01:00
dependabot[bot]
6d91a43004 Bump clap from 4.4.7 to 4.4.8
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.7 to 4.4.8.
- [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.4.7...v4.4.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 16:34:06 +01:00
dependabot[bot]
e20cf918ed Bump openssl-sys from 0.9.94 to 0.9.95
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.94 to 0.9.95.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.94...openssl-sys-v0.9.95)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 16:46:20 +01:00
extrawurst
985acf23ef fix nighyly clippy 2023-11-02 07:50:41 +01:00
dependabot[bot]
b051b3c00c Bump openssl-sys from 0.9.93 to 0.9.94
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.93 to 0.9.94.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.93...openssl-sys-v0.9.94)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 07:39:10 +01:00
dependabot[bot]
187fbbdcf5 Bump clap from 4.4.6 to 4.4.7
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.6 to 4.4.7.
- [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.4.6...v4.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 09:51:20 +02:00
Shun Sakai
501833cd90 Update README
Update the installation instructions on openSUSE.
2023-10-19 14:17:53 +02:00
dependabot[bot]
91ad02c105 Bump rustix from 0.36.8 to 0.36.16
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.36.8 to 0.36.16.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.36.8...v0.36.16)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 14:06:14 +02:00
extrawurst
d285440f2b Revert "Bump indexmap from 1.9.3 to 2.0.1"
This reverts commit 81a69f845e.
2023-10-17 08:43:41 +02:00
extrawurst
4abe5edf06 Revert "Bump indexmap from 2.0.1 to 2.0.2"
This reverts commit b7772e63e4.
2023-10-17 08:42:36 +02:00
Adrian Wannenmacher
2be0e73d5b
Prevent unsigned tagging (#1915)
* prevent creation of tags when tag-signing is configured

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-10-17 08:40:20 +02:00
Sainath Singineedi
0e2b3db1d9
Add confirmation dialog for undo commit (#1909) 2023-10-17 07:59:59 +02:00
Maurice Wangleng Tan
2fd957e2c8
Allow customizing line break visualization (#1904) 2023-10-16 18:00:48 +02:00
Aditya Pillai
09907f3873 fix typo with sign off commit 2023-10-16 17:45:40 +02:00
dependabot[bot]
b7772e63e4 Bump indexmap from 2.0.1 to 2.0.2
Bumps [indexmap](https://github.com/bluss/indexmap) from 2.0.1 to 2.0.2.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/2.0.1...2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 08:40:36 +02:00
dependabot[bot]
579f5e1e37 Bump clap from 4.4.5 to 4.4.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.5 to 4.4.6.
- [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.4.5...v4.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-29 11:33:37 +02:00
dependabot[bot]
81a69f845e Bump indexmap from 1.9.3 to 2.0.1
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.3 to 2.0.1.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28 09:33:45 +02:00
dependabot[bot]
9bdd5cc856 Bump clap from 4.4.4 to 4.4.5
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.4 to 4.4.5.
- [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.4.4...v4.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 10:17:37 +02:00
dependabot[bot]
0bd5b9958e Bump rayon from 1.7.0 to 1.8.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.8.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 12:34:32 +02:00
dependabot[bot]
52cb83f714 Bump unicode-width from 0.1.10 to 0.1.11
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.10 to 0.1.11.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.10...v0.1.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 11:39:36 +02:00
dependabot[bot]
ca15fcbe4c Bump gh-emoji from 1.0.7 to 1.0.8
Bumps [gh-emoji](https://github.com/kornelski/gh-emoji) from 1.0.7 to 1.0.8.
- [Commits](https://github.com/kornelski/gh-emoji/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 11:37:36 +02:00
extrawurst
b2e7420349
Update README.md 2023-09-19 19:52:30 +02:00
dependabot[bot]
9bd483fea5 Bump clap from 4.4.3 to 4.4.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.3 to 4.4.4.
- [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.4.3...v4.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 19:44:40 +02:00
Charles Johnson
bd96c85f5a Update FAQ.md 2023-09-19 19:44:19 +02:00
dependabot[bot]
4eea01a9fe Bump chrono from 0.4.30 to 0.4.31
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.30 to 0.4.31.
- [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.30...v0.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 08:07:45 +02:00
dependabot[bot]
8775fec9fa Bump clap from 4.4.2 to 4.4.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.2 to 4.4.3.
- [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.4.2...v4.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 14:38:55 +02:00
Christoph Rüßler
aa7aa7a5c1
Fix file history for all sizes (#1738) 2023-09-09 11:29:04 +02:00
extrawurst
d0f15d54ab fix github action warnings using set-output
see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-09-09 11:20:19 +02:00
extrawurst
8768611876 prepare release 2023-09-09 10:59:21 +02:00
extrawurst
015d409540 cleanup according to toolchain action docs 2023-09-08 23:22:30 +02:00
dependabot[bot]
5b81d72014 Bump chrono from 0.4.29 to 0.4.30
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.29 to 0.4.30.
- [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.29...v0.4.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-08 08:37:44 +02:00
dependabot[bot]
6bda5c1f21 Bump chrono from 0.4.28 to 0.4.29
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.28 to 0.4.29.
- [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.28...v0.4.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 09:40:34 +02:00
extrawurst
7c0d010233 make commit lookup in log faster
* makes hopping to next highlighted commit loopfree (closes #1876)
* makes general commit find faster
2023-09-05 09:07:21 +02:00
dependabot[bot]
bf2c1e3295 Bump openssl-sys from 0.9.92 to 0.9.93
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.92 to 0.9.93.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.92...openssl-sys-v0.9.93)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 07:53:28 +02:00
extrawurst
253a18f62a search message body/summary separately
closes #1875
2023-09-04 22:24:20 +02:00
extrawurst
0e1d83fb02
Parallelize log search (#1874) 2023-09-04 20:55:17 +02:00
extrawurst
5808515853 fix warnings 2023-09-04 09:48:37 +02:00
extrawurst
ecb793206d seems useless, lets remove 2023-09-04 09:46:08 +02:00
extrawurst
19051cfec0 update chrono 2023-09-04 09:40:29 +02:00
extrawurst
0a8cd66bbd update clap 2023-09-04 09:38:55 +02:00
extrawurst
11b9e8193c prepare for release 2023-09-03 18:52:33 +02:00
extrawurst
6356f64b1d fix #1866 2023-09-03 18:41:00 +02:00
extrawurst
42043bda6f make update_progress simpler 2023-09-03 18:34:09 +02:00
extrawurst
52dfefe624 Revert "parallelize log search"
This reverts commit ebe41e8a75.
2023-09-03 18:30:34 +02:00
extrawurst
ebe41e8a75 parallelize log search
* will consume all cores now and got faster in all my benchmarks
* setting progress via asyncjob now makes sure to only set it if it has changed and return whether that is the case to simplify sending progress notifications only in case progress actually changed
2023-08-31 12:09:13 +02:00
extrawurst
5be397b335
stash list does not update after pop/drop (#1865)
* move to stashlist after stashing
* move to status after stash popping
2023-08-31 10:41:52 +02:00
extrawurst
16c97edb4d fix log not updating after branch switch
closes #1862
2023-08-31 10:02:59 +02:00
extrawurst
082e308efb fix manual brew pipeline 2023-08-30 16:49:22 +02:00
extrawurst
bc1cea3dc8 new homebrew formular bumping ci action 2023-08-30 16:37:18 +02:00
extrawurst
4fd056c38b fix homebrew action problem 2023-08-30 16:23:35 +02:00
extrawurst
85ab9d47ad prepare release 2023-08-30 15:55:26 +02:00
extrawurst
f2f51cde82 package status badge 2023-08-30 15:53:05 +02:00
extrawurst
bd139ccc59 fix broken reloading of revlog on new search results 2023-08-30 11:54:30 +02:00
extrawurst
e0bc51822f some cleanup 2023-08-30 09:57:25 +02:00
Tony
ea9314e242
Speedup CI (#1852) 2023-08-30 09:53:20 +02:00
extrawurst
0c591dfea4
Fix branch switch with slash (#1857) 2023-08-29 16:39:58 +02:00
extrawurst
c38b1d1e1c do not fetch commit_info if batch is the same 2023-08-29 13:40:28 +02:00
dependabot[bot]
f639f4a0d0 Bump url from 2.4.0 to 2.4.1
Bumps [url](https://github.com/servo/rust-url) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.4.0...v2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 07:36:22 +02:00
extrawurst
b36ffc9481 added changelog 2023-08-28 12:40:54 +02:00
extrawurst
0376ed3a26
Fix slowness in big repo revlog tab (#1849) 2023-08-28 12:35:01 +02:00
dependabot[bot]
8c177151d1 Bump openssl-sys from 0.9.91 to 0.9.92
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.91 to 0.9.92.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.91...openssl-sys-v0.9.92)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 08:43:19 +02:00
extrawurst
15e9222f51
refactoring commit filter (#1843) 2023-08-27 16:38:20 +02:00
extrawurst
86c4f7ff1c use new CD 2023-08-27 16:36:29 +02:00
extrawurst
7eaa04169f fix changelog times 2023-08-27 16:12:28 +02:00
extrawurst
6ce3485cf0 version bump 2023-08-27 15:31:53 +02:00
extrawurst
33ac5b97ae prep for release 2023-08-27 15:30:15 +02:00
extrawurst
9a7c2199a7
make commit filtering an async job (#1842) 2023-08-27 15:14:10 +02:00
extrawurst
2675934027
Index of search result (#1840) 2023-08-27 11:25:16 +02:00
Ammar Abou Zor
c68fa3e87b
Jump to commit via sha (#1818) 2023-08-27 09:46:41 +02:00
extrawurst
005047f015 cleanup state in search popup more 2023-08-26 23:55:51 +02:00
extrawurst
0fdec134c5
Fix: search in log (#1838) 2023-08-26 20:34:37 +02:00
extrawurst
5b2b8c7e0a cleanup and improvements
inspired by #1411
2023-08-26 14:37:15 +02:00
Ammar Abou Zor
6339a1f33c
Copy full Commit Hash by default (#1836) 2023-08-26 14:26:51 +02:00
dependabot[bot]
c84a973d5d Bump bytesize from 1.2.0 to 1.3.0
Bumps [bytesize](https://github.com/hyunsik/bytesize) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/hyunsik/bytesize/releases)
- [Commits](https://github.com/hyunsik/bytesize/compare/v1.2.0...v1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-26 13:54:24 +02:00
extrawurst
11c65f633f fix new fmt check 2023-08-26 13:52:47 +02:00
extrawurst
2377924f9c use popup specific up/down cmds (fixes #1831) 2023-08-26 13:45:15 +02:00
extrawurst
7558d25e25 cleanup 2023-08-23 19:40:24 +02:00
extrawurst
a5b898c718 fix potential panic 2023-08-22 13:19:17 +02:00
extrawurst
9e69f251a8 do not show spacing selection in non-highlight 2023-08-22 13:19:06 +02:00
extrawurst
30211b2a6b allow visualizing enable state in text
this allows us to show whether the text inpout is currently selected in search popup
2023-08-22 13:01:50 +02:00
Ammar Abou Zor
306ff91afa
Search popup: allow navigation with non arrow keys (#1816) 2023-08-22 12:47:18 +02:00
extrawurst
ab51490648 cleanup 2023-08-21 13:23:52 +02:00
extrawurst
b4a77c9262 update readme 2023-08-21 13:14:42 +02:00
extrawurst
77bb69a162 fix ci 2023-08-21 12:54:56 +02:00
extrawurst
0cf041bb98 fix backgrounding search thread 2023-08-21 12:19:07 +02:00
extrawurst
cde1c7f883
Search commits by author (#1822) 2023-08-21 12:11:53 +02:00
extrawurst
d253022f13 add missing command for new commit search in log 2023-08-21 11:29:02 +02:00
ImgBotApp
4a6131fcd9 [ImgBot] Optimize images
/assets/diff-empty-line.png -- 219.77kb -> 135.70kb (38.26%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-08-19 01:54:41 +02:00
extrawurst
3c5131ad27
commit log filtering (#1800) 2023-08-18 17:19:18 +02:00
extrawurst
b50d44a4b8 fix changelog 2023-08-18 14:32:44 +02:00
lightsnowball
514e8f0175
Modify checkout implementation making branch switching more similar to CLI git behaviour (#1809) 2023-08-18 14:31:51 +02:00
extrawurst
074820e63b fix: missing entry in ToC 2023-08-18 14:23:50 +02:00
dependabot[bot]
ecf6fe9369 Bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 09:55:39 +02:00
dependabot[bot]
77d1ef6874 Bump anyhow from 1.0.72 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 12:47:05 +02:00
extrawurst
809281f1ab clippy fix 2023-08-16 12:43:41 +02:00
dependabot[bot]
347e6e43e7 Bump log from 0.4.19 to 0.4.20
Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 09:17:22 +02:00
extrawurst
8437b76f99 fix nightly clippy 2023-08-12 18:50:19 +02:00
extrawurst
798f990cd3 changelog and notes for #1506 2023-08-12 18:45:16 +02:00
Kieran Siek
bf31f20657
Fix external editor delay. (#1579)
The default polling rate of 1 second causes a 1 second delay when
queuing the event to launch the external editor, causing latency.

However, a slower polling helps reduce CPU usage, so let's
have a short polling duration as long as there are input events, and
slow poll otherwise.

Since the external editor among other components (not tested) is always
launched in response to an input event, we reduce the latency to ~100ms,
which is the fast poll duration.

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-08-12 18:28:59 +02:00
extrawurst
6ec647710d visualize empty line in diff better (closes #1359) 2023-08-11 16:44:50 +02:00
extrawurst
9eb8d470a4 optimize logfilter to not check stashes
logfilter using `get_commit_diff` on each entry lead to a lot of unneeded calls to `get_stashes` and `is_stash_commit` which should be not even needed for file history log entries. this is not happening now anymore
2023-08-11 11:38:21 +02:00
Niklas Dießner
e90656d61c
add anaconda install instructions (#1802) 2023-08-10 23:34:27 +02:00
extrawurst
7400d5bc68 more logging/diagnostics when repo cant be opened 2023-08-10 15:39:39 +02:00
extrawurst
53988ba4e0
fix hunk edits with non standard diff options (#1803) 2023-08-10 14:48:36 +02:00
extrawurst
495d4d5da7 do shell expansion for commit.template
more error logging around commit-template loading
2023-08-09 19:02:24 +02:00
Niklas Dießner
403c5aabd9
Switch to bwrap (#1792)
* switch from textwrap to bwrap
2023-08-09 16:00:35 +02:00
extrawurst
a828bd2cea show dependency stats on readme 2023-08-07 14:02:25 +02:00
dependabot[bot]
5aeb9c4c9c Bump openssl-sys from 0.9.90 to 0.9.91
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.90 to 0.9.91.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.90...openssl-sys-v0.9.91)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 11:54:06 +02:00
extrawurst
38bf345ebf new single issue for commit filtering 2023-08-05 15:52:49 +02:00
extrawurst
9e9e743515 do not ignore pprof anymore 2023-08-01 10:30:11 +02:00
extrawurst
965f0765aa upgrade syntect and regex (see #1781) 2023-08-01 10:23:38 +02:00
extrawurst
104078f15f cargo install locked 2023-08-01 10:09:15 +02:00
extrawurst
9d37e36314 licence update 2023-07-30 11:53:34 +02:00
extrawurst
a87f66c131
switch back to dirs (#1783)
* switch back to `dirs`
2023-07-30 10:44:49 +02:00
Niklas Dießner
104e5bf62e
1751 follow symlink for keybinding config (#1767) 2023-07-29 23:04:53 +02:00
extrawurst
e661ee6e3e simplify deny config 2023-07-29 22:56:56 +02:00
domtac
dba5206e46
Feat 1757 add signoff option (#1758) 2023-07-29 22:11:36 +02:00
dependabot[bot]
77f672570f Bump pprof from 0.12.0 to 0.12.1
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.12.0 to 0.12.1.
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/pprof-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 08:15:09 +02:00
extrawurst
b935df59a1 fix nightly build 2023-07-18 09:45:05 +02:00
dependabot[bot]
46a039f88f Bump scopeguard from 1.1.0 to 1.2.0
Bumps [scopeguard](https://github.com/bluss/scopeguard) from 1.1.0 to 1.2.0.
- [Commits](https://github.com/bluss/scopeguard/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 09:30:41 +02:00
dependabot[bot]
023f09b327 Bump anyhow from 1.0.71 to 1.0.72
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 09:24:11 +02:00
extrawurst
c1e209581b use udeps git in ci 2023-07-09 18:12:11 +02:00
extrawurst
bfa9f7ef01 upgrade from yanked crate 2023-07-09 17:58:25 +02:00
Ammar Abou Zor
4682a1b75b
Make fuzzy find popup scrollable (#1734)
* Added: Make fuzzy find popup scrollable
* Fuzzy_find: Add scrollbar to matches list
* Update CHANGELOG
2023-07-08 12:29:47 +02:00
extrawurst
bdba065909 cargo update
cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update

cargo update
2023-07-07 15:58:59 +02:00
extrawurst
cb9cf3ad0c fix nightly builds
* update proc-macro2
* fix new warnings
2023-07-07 15:46:32 +02:00
dependabot[bot]
05ce018e06 Bump pprof from 0.11.1 to 0.12.0
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.11.1 to 0.12.0.
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/pprof-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 15:16:13 +02:00
dependabot[bot]
c2435c2752 Bump pretty_assertions from 1.3.0 to 1.4.0
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.3.0...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 11:11:00 +02:00
UG
b4450f9bc3
fixed wrong fuzzy-find highlight in long str (#1731)
* fixed wrong highlight in long str
* support multibyte characters
2023-07-06 21:15:08 +02:00
extrawurst
5c98e2fe76 print theme file path in log with mesages 2023-06-25 14:14:57 +02:00
extrawurst
c119e6ae18 fix changelog 2023-06-25 14:11:31 +02:00
Christoph Rüßler
3c9c266c01
Simplify theme overrides (#1652)
* Simplify theme overrides

Theme overrides are now loaded the same way key overrides are loaded.
The config file, `theme.ron`, does not have to contain a complete theme
anymore. Instead, it is possible to specify only the values that are
supposed to override their corresponding default values.

* Document breaking change in changelog
* Test that override differs from default
* Convert existing theme to patch
2023-06-25 14:09:40 +02:00
dependabot[bot]
999912c347 Bump itertools from 0.10.5 to 0.11.0
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.5 to 0.11.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-25 10:49:48 +02:00
dependabot[bot]
7ebb3c0ef6 Bump openssl-sys from 0.9.88 to 0.9.90
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.88 to 0.9.90.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.88...openssl-sys-v0.9.90)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 09:38:48 +02:00
extrawurst
022b389146 fix char_count with utf8 chars (fixes #1726) 2023-06-20 18:04:27 +02:00
UG
e90e8dc536
FuzzyFindPopup for general use (#1672)
* replace BranchFindPopup with FuzzyFindPopup
* replace FileFindPopup with FuzzyFindPopup
2023-06-20 12:57:36 +02:00
extrawurst
be801a336f fix changelog 2023-06-19 17:53:04 +02:00
hamflx
bfcf33fce4
feat: support 'n'/'p' key to move to the next/prev hunk. (#1723)
* feat: support 'n'/'p' key to move to the next/prev hunk.
* feat: auto scroll next/prev hunk into visible area.
* add unittest for VerticalScroll::move_area_to_visible.
2023-06-19 17:52:05 +02:00
extrawurst
197fc6fdf1 bump gitui version 2023-06-19 16:00:54 +02:00
extrawurst
40cd72abfc prepare for release 2023-06-19 16:00:01 +02:00
extrawurst
0ca82aba46 bump versions 2023-06-19 15:58:19 +02:00
kamillo
58e72cd22b
Add support for options handling in log and stashes views #1661 (#1675) 2023-06-19 15:40:26 +02:00
extrawurst
4f3be697d5 upgrade ratatui 2023-06-19 15:05:17 +02:00
dependabot[bot]
195a6f2c90 Bump log from 0.4.18 to 0.4.19
Bumps [log](https://github.com/rust-lang/log) from 0.4.18 to 0.4.19.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.18...0.4.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 13:49:04 +02:00
dependabot[bot]
ff48840f23 Bump openssl-sys from 0.9.87 to 0.9.88
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.87 to 0.9.88.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.87...openssl-sys-v0.9.88)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 14:42:17 +02:00
dependabot[bot]
4f10dfb185 Bump url from 2.3.1 to 2.4.0
Bumps [url](https://github.com/servo/rust-url) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 14:41:59 +02:00
extrawurst
7d5b7d2c38 clippy nightly fixes 2023-06-07 12:50:27 +02:00
dependabot[bot]
022281d414 Bump log from 0.4.17 to 0.4.18
Bumps [log](https://github.com/rust-lang/log) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.17...0.4.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 12:38:46 +02:00
dependabot[bot]
bc99a92ec8 Bump git2 from 0.17.1 to 0.17.2
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.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.17.1...0.17.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 12:38:28 +02:00
dependabot[bot]
1a96855c63 Bump once_cell from 1.17.1 to 1.18.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 12:37:32 +02:00
dependabot[bot]
036cc16417 Bump chrono from 0.4.24 to 0.4.26
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.24 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.24...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>
2023-06-07 12:37:06 +02:00
pm100
2b3bc622d6 too many things skipped with !verify 2023-05-21 22:40:15 -05:00
pm100
cdaf3b8b84 missed readme and changelog updates 2023-05-17 08:45:12 -06:00
pm100
aa4266cd1f fix double key input on windows due to crossterm 0.26 2023-05-14 14:01:25 -06:00
pm100
d6f33532bb bump msrv to 1.65 2023-05-14 13:59:48 -06:00
pm100
8fa96fd598 add perl and python to build requirments 2023-05-14 13:49:44 -06:00
Christoph Rüßler
49cd7ea2db Fix file history for sizes <= 1200 entries 2023-05-04 15:49:21 +02:00
dependabot[bot]
9b09617f85 Bump anyhow from 1.0.70 to 1.0.71
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 08:44:35 +02:00
Christoph Rüßler
370aff5fcc
Default to tick-based updates (#1657)
* Default to tick-based updates

This commit reintroduces code that was previously removed in favor of a
notify-based update trigger. It turned out that notify-based updates can
cause issues in larger repositories, so tick-based updates seemed like a
safer default.

https://github.com/extrawurst/gitui/issues/1444
https://github.com/extrawurst/gitui/pull/1310

* Add FAQ entry for --watcher

* Remove --poll
2023-04-29 17:03:43 +02:00
dependabot[bot]
836e03c01c Bump openssl-sys from 0.9.86 to 0.9.87
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.86 to 0.9.87.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.86...openssl-sys-v0.9.87)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 23:35:00 +02:00
extrawurst
48d42abd38 changelog entry and gif for #1350 2023-04-22 08:12:53 +02:00
extrawurst
379bf265fe fix ratatui building with optimization 2023-04-22 08:05:48 +02:00
UG
3a6f292bf5
add fuzzy finder in branch list (#1658)
* add branch_find_popup
* capital F for fetch in branchlist, f for find
* add command info of return

closes #1350
2023-04-21 23:03:35 +02:00
dependabot[bot]
a921ab543b Bump openssl-sys from 0.9.85 to 0.9.86
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.85 to 0.9.86.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.85...openssl-sys-v0.9.86)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 11:16:28 +02:00
extrawurst
904885e001 tui -> ratatui
tui is not maintained anymore and it seems that ratatui is the successor: https://github.com/fdehau/tui-rs/issues/654
2023-04-19 14:46:09 +02:00
extrawurst
19b820bb35 cleanup 2023-04-19 14:30:43 +02:00
dependabot[bot]
8d6e30d2a6 Bump git2 from 0.17.0 to 0.17.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.17.0...0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:40:45 +02:00
Christoph Rüßler
3e0ec29d0d Add entry to changelog 2023-04-12 11:53:08 +02:00
Christoph Rüßler
2554f04ace Don’t show upstream if commit is local branch head 2023-04-12 11:53:08 +02:00
Christoph Rüßler
3af256c75a Show remote branches in revlog 2023-04-12 11:53:08 +02:00
dependabot[bot]
b15d24caf8 Bump shellexpand from 3.0.0 to 3.1.0
Bumps [shellexpand](https://gitlab.com/ijackson/rust-shellexpand) from 3.0.0 to 3.1.0.
- [Release notes](https://gitlab.com/ijackson/rust-shellexpand/tags)
- [Commits](https://gitlab.com/ijackson/rust-shellexpand/compare/shellexpand-3.0.0...shellexpand-3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 07:59:37 +02:00
dependabot[bot]
b2d123b519 Bump clap from 4.1.8 to 4.1.14
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>
2023-04-12 07:59:17 +02:00
dependabot[bot]
060ea8f0c6 Bump openssl-sys from 0.9.84 to 0.9.85
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.84 to 0.9.85.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.84...openssl-sys-v0.9.85)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 07:57:22 +02:00
dependabot[bot]
2611f5a13e Bump crossbeam-channel from 0.5.7 to 0.5.8
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.7...crossbeam-channel-0.5.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 07:57:02 +02:00
pm100
12fdfeafa8 better binary explanations 2023-04-12 06:45:36 +02:00
pm100
c1e3e978a2 fix test failure on nightly due to cef81dc 2023-04-12 06:39:53 +02:00
extrawurst
76258fbb93 bump git2-rs 2023-04-03 12:17:55 +02:00
dependabot[bot]
5ac6144c35 Bump openssl-sys from 0.9.82 to 0.9.84
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.82 to 0.9.84.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.82...openssl-sys-v0.9.84)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:15:19 +02:00
Stefan Krieger
75abd0f283 Add openSUSE (TW) to 'Installation' section
Since gitui is now available in the official software repository for openSUSE Tumbleweed it would make sense to add it to the install instructions.
2023-03-30 08:24:09 +02:00
dependabot[bot]
9782eb7b1f Bump anyhow from 1.0.69 to 1.0.70
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.69...1.0.70)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 18:16:21 +01:00
dependabot[bot]
00182d1c5e Bump openssl-sys from 0.9.81 to 0.9.82
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.81 to 0.9.82.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.81...openssl-sys-v0.9.82)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 18:15:49 +01:00
dependabot[bot]
cdae2b067a Bump openssl-sys from 0.9.80 to 0.9.81
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.80 to 0.9.81.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.80...openssl-sys-v0.9.81)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 16:28:18 +01:00
dependabot[bot]
0052cab3df Bump serde from 1.0.155 to 1.0.156
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.155 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 16:27:59 +01:00
dependabot[bot]
1a298a4e72 Bump serde from 1.0.152 to 1.0.155
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.155.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.155)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 10:04:17 +01:00
dependabot[bot]
6abfacb5fd Bump chrono from 0.4.23 to 0.4.24
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.23 to 0.4.24.
- [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.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 10:03:50 +01:00
Remo Senekowitsch
63f230f0d1 fix freeze on copy with wl-copy 2023-03-07 18:50:09 +01:00
dependabot[bot]
3ceeb33c25 Bump rayon-core from 1.10.2 to 1.11.0
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.2...rayon-core-v1.11.0)

---
updated-dependencies:
- dependency-name: rayon-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 07:19:28 +01:00
dependabot[bot]
73db2cfd03 Bump thiserror from 1.0.38 to 1.0.39
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.39)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 07:19:01 +01:00
dependabot[bot]
88a3efbe06 Bump struct-patch from 0.2.0 to 0.2.3
Bumps [struct-patch](https://github.com/yanganto/struct-patch) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/yanganto/struct-patch/releases)
- [Commits](https://github.com/yanganto/struct-patch/compare/v0.2.0...v0.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 07:18:30 +01:00
dependabot[bot]
6c38c65716 Bump pprof from 0.11.0 to 0.11.1
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.11.0...v0.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-05 12:44:56 +01:00
Louis Bourque
45bb8a71b5 Fix freeze on copy when xclip is installed on Linux 2023-03-05 12:44:01 +01:00
Antonio Yang
f8e1c26309
Fix dep struct patch (#1577) 2023-03-04 15:51:09 +01:00
dependabot[bot]
5df48021d8 Bump simplelog from 0.12.0 to 0.12.1
Bumps [simplelog](https://github.com/drakulix/simplelog.rs) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/drakulix/simplelog.rs/releases)
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/drakulix/simplelog.rs/compare/v0.12.0...v0.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 15:47:49 +01:00
extrawurst
eba650a4c8 cleanup 2023-03-03 15:47:02 +01:00
extrawurst
017823da49 try fixing CI 2023-03-03 15:43:32 +01:00
extrawurst
01f6580125 Revert "Refactor key_list and remove key_list_file (#1511)"
This reverts commit 0fb1856d18.
2023-03-01 16:10:45 +01:00
extrawurst
8f29cb2e81
Cargo install in CI (#1576)
* run cargo install in CI
* also run cargo install in musl env
2023-03-01 15:44:51 +01:00
extrawurst
670677044f pin dep 2023-03-01 14:30:34 +01:00
extrawurst
2fa4c7932c fix race issue in revlog message fetching
sometimes messages appear empty because getting the revlog is so fast (empty repo) that no draw happened yet and so we do not know yet what size the view will have.
fixes #1473
2023-03-01 14:22:42 +01:00
dependabot[bot]
e1a40dd224 Bump crossbeam-channel from 0.5.6 to 0.5.7
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.6...crossbeam-channel-0.5.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 13:20:33 +01:00
dependabot[bot]
35e1a0b735 Bump clap from 4.1.7 to 4.1.8
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.7 to 4.1.8.
- [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.7...v4.1.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 13:20:14 +01:00
dependabot[bot]
258299265a Bump clap from 4.1.6 to 4.1.7
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.6 to 4.1.7.
- [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.6...v4.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 19:54:52 +01:00
extrawurst
c3e318fdd5 fix clippy nightly 2023-02-27 23:26:14 +01:00
dependabot[bot]
000deb2cf8 Bump bytesize from 1.1.0 to 1.2.0
Bumps [bytesize](https://github.com/hyunsik/bytesize) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/hyunsik/bytesize/releases)
- [Commits](https://github.com/hyunsik/bytesize/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 10:33:41 +01:00
dependabot[bot]
fa551878a8 Bump tempfile from 3.3.0 to 3.4.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 10:32:55 +01:00
extrawurst
10bf4e310d reword gif 2023-02-19 11:44:25 +00:00
extrawurst
9d83ce358e
Reword commit (#1553)
* reuse commit popup for reword
* switch to status after reword
* show command
* prepopulate with old msg
* changelog

Closes #829
2023-02-18 20:47:24 +00:00
dependabot[bot]
ab01fc7e35 Bump clap from 4.1.4 to 4.1.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.4 to 4.1.6.
- [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.4...v4.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-18 13:27:23 +00:00
extrawurst
9d256510ac print message of where log will be written
closes #1472
2023-02-17 16:30:43 +00:00
extrawurst
ba9b6d6b6a fix crash on entering submodule #1510
also do not allow opening submodule without workdir
2023-02-17 11:19:16 +00:00
extrawurst
8f612c5cb4 cleanup 2023-02-17 10:21:07 +00:00
Antonio Yang
0fb1856d18
Refactor key_list and remove key_list_file (#1511)
* refactor key_list and rm redundant key_list_file
* remove redudent key_list_file.rs
* fix testcase conflict
2023-02-15 07:10:47 +00:00
dependabot[bot]
51d7616828
Bump once_cell from 1.17.0 to 1.17.1 (#1546)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1)

---
updated-dependencies:
- dependency-name: once_cell
  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-02-15 07:10:00 +00:00
extrawurst
d4d6fd28eb
Unittest keylist (#1545)
* fix warning
* add unittest to keylist
2023-02-15 00:20:45 +00:00
Antonio Yang
aefc18d819
Copy file path (#1516)
* copy file path to click board
* update change log
* Add copy path info to command bar
2023-02-12 10:06:56 +00:00
extrawurst
0fca8befc8 cleanup 2023-02-12 10:06:18 +00:00
extrawurst
8f7f35b8a9 remove focus key bindings
merge them into `move_XYZ` keys
2023-02-11 10:51:51 +00:00
extrawurst
201561bc7a allow duplicates right now 2023-02-11 10:14:37 +00:00
dependabot[bot]
f0b491d0ec Bump openssl-src from 111.24.0+1.1.1s to 111.25.0+1.1.1t
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.24.0+1.1.1s to 111.25.0+1.1.1t.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 00:08:45 +00:00
dependabot[bot]
06289afe6e Bump anyhow from 1.0.68 to 1.0.69
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.68...1.0.69)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 07:06:10 +00:00
extrawurst
7f5c6ceeef
Check udeps (#1535) 2023-02-05 10:32:25 +01:00
extrawurst
bff1c33625 wording 2023-02-04 19:43:43 +01:00
extrawurst
8ab62244ce
support reset from log view (#1534) 2023-02-04 16:15:26 +01:00
extrawurst
1a0167e7f8 mention contributor in changelog 2023-02-04 07:01:48 +01:00
Andrey Krupskiy
57a5322fa7
Checkout commit (#1499)
* Add keybind to checkout commit in log view
* Extract commit checkout into method
* add quckbar hint for checkout commit
* add a smoke test
* update changelog
* show an error in popup

---------

Co-authored-by: Omnikar <omnikar5@gmail.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-02-04 07:00:19 +01:00
hamflx
5411397f9a
Fix commit hooks error and "no such file" error on Windows with wsl2 installed. (#1532)
* use git bash instead of wsl bash
* add unittest for some simple shell commands.
* fix incompatible unitest with macOS
2023-02-02 10:33:57 +01:00
dependabot[bot]
0e0cdb327b Bump unicode-segmentation from 1.10.0 to 1.10.1
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/v1.10.0...v1.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 10:03:05 +01:00
extrawurst
54fdf3d51c cargo updates 2023-01-29 11:23:54 +01:00
extrawurst
32f6134309 log errors in key bindings parsing (#1491) 2023-01-29 11:15:19 +01:00
extrawurst
b424b9beeb changelog 2023-01-29 09:34:25 +01:00
extrawurst
ce70d5ef12 bump msrv 1.64 2023-01-29 09:28:09 +01:00
extrawurst
48eed0562a additional documentation for stash_open (#1525) 2023-01-28 14:44:36 +01:00
extrawurst
c663e6b0a9 cargo update 2023-01-27 00:38:48 +01:00
dependabot[bot]
582b660bf7 Bump rayon-core from 1.10.1 to 1.10.2
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.1...rayon-core-v1.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:40:34 +01:00
dependabot[bot]
1a833fcec3 Bump which from 4.3.0 to 4.4.0
Bumps [which](https://github.com/harryfei/which-rs) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/4.3.0...4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:40:09 +01:00
dependabot[bot]
8088aa9743 Bump git2 from 0.16.0 to 0.16.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.16.0...0.16.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 08:56:12 +01:00
dependabot[bot]
a5128b94dd Bump serial_test from 0.10.0 to 1.0.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.10.0 to 1.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.10.0...v1.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 11:59:27 +01:00
extrawurst
ad45102e3b add proper changelog for 1dc097e 2023-01-13 14:52:59 +01:00
Alen Šiljak
1dc097ebd8
Status view fetch (#1483)
* adding the command to Status view
* cleanup and fix warnings

Co-authored-by: extrawurst <mail@rusticorn.com>
2023-01-13 14:51:34 +01:00
extrawurst
b8a436fdeb clippy fix 2023-01-13 14:13:40 +01:00
extrawurst
ad42ad9269 added relevant changlog for 5ca712f 2023-01-13 14:08:07 +01:00
Dave
5ca712ff80
Add no-verify commit command (#1375)
* add no-verify option on commit action
* make verify a bool flag on commit component
2023-01-13 14:05:51 +01:00
dependabot[bot]
c7356ae3de Bump git2 from 0.15.0 to 0.16.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.15.0...git2-curl-0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 09:09:00 +01:00
Christoph Rüßler
9fa5fddd93
Allow to scroll diffs horizontally (#1327) 2023-01-08 12:47:37 +01:00
extrawurst
f29178d1b3 cleanup unused deps 2023-01-06 11:48:17 +01:00
extrawurst
3ff5b51fe9 cargo update 2023-01-06 11:07:07 +01:00
extrawurst
00040a39cb upgrade dep 2023-01-06 11:06:25 +01:00
extrawurst
71ba561221 bump version 2023-01-06 11:05:24 +01:00
extrawurst
0b1a0a148c cargo update 2022-12-30 09:44:29 +01:00
extrawurst
c6dec379f2 clippy nightly fixes 2022-12-30 09:42:50 +01:00
extrawurst
e5c62d01e1 remove duplicate edit cmd from bar (#1489) 2022-12-30 00:15:13 +01:00
dependabot[bot]
761cb10405 Bump serde from 1.0.151 to 1.0.152
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-27 13:48:33 +01:00
dependabot[bot]
fce6c51bea Bump clap from 4.0.30 to 4.0.32
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.30 to 4.0.32.
- [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.0.30...v4.0.32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-25 14:28:22 +01:00
dependabot[bot]
01188e214e Bump easy-cast from 0.5.1 to 0.5.2
Bumps [easy-cast](https://github.com/kas-gui/easy-cast) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/kas-gui/easy-cast/releases)
- [Changelog](https://github.com/kas-gui/easy-cast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kas-gui/easy-cast/compare/0.5.1...0.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 12:06:41 +01:00
dependabot[bot]
ece5a86855 Bump clap from 4.0.29 to 4.0.30
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.29 to 4.0.30.
- [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.0.29...v4.0.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 09:46:35 +01:00
extrawurst
669ea61019 followup 9ca6068 2022-12-21 08:17:33 +01:00
extrawurst
03dd0de07a upgrade so we fix the remaining linting issue 2022-12-20 17:21:46 +01:00
extrawurst
81645a61d4 cargo update 2022-12-20 15:22:45 +01:00
extrawurst
438fa8ec19 cargo update 2022-12-20 15:15:14 +01:00
extrawurst
9ca6068a17 fix crash in small window and branches
fixes #1470
2022-12-18 20:07:26 +01:00
dependabot[bot]
b59526c86c Bump serde from 1.0.149 to 1.0.150
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.149 to 1.0.150.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 03:25:29 +01:00
extrawurst
55a006a4a0 update env_logger 2022-12-10 11:32:43 +01:00
extrawurst
15500246ca cargo update 2022-12-10 11:31:10 +01:00
extrawurst
289eddd9be fix nightly clippy 2022-12-10 11:27:59 +01:00
extrawurst
7dcf93e0b2 do not show edit item cmd in commit detail: msg
fixes #1461
2022-12-10 11:25:11 +01:00
extrawurst
e8b7097845 fix regular app exectuation after 045e9e5 2022-12-10 01:57:04 +01:00
extrawurst
fa302717e8 add changelog for 045e9e5 2022-12-10 01:23:58 +01:00
extrawurst
045e9e5f09 bugreport arg does not require param
fixes #1466
2022-12-10 01:22:34 +01:00
dependabot[bot]
b9b01cd32a Bump openssl-sys from 0.9.78 to 0.9.79
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.78 to 0.9.79.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.78...openssl-sys-v0.9.79)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 09:19:03 +01:00
dependabot[bot]
c1305f47b2 Bump serde from 1.0.147 to 1.0.148
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 08:08:04 +01:00
dependabot[bot]
71ea7fb89d Bump shellexpand from 2.1.2 to 3.0.0
Bumps [shellexpand](https://gitlab.com/ijackson/rust-shellexpand) from 2.1.2 to 3.0.0.
- [Release notes](https://gitlab.com/ijackson/rust-shellexpand/tags)
- [Commits](https://gitlab.com/ijackson/rust-shellexpand/compare/shellexpand/2.1.2...shellexpand-3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 07:35:48 +01:00
extrawurst
9210d8ca87 fix key binding used in comand bar for stash_open
this fixes #1454
2022-11-28 01:14:03 +01:00
dependabot[bot]
e902f4ce3e Bump openssl-sys from 0.9.77 to 0.9.78
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.77 to 0.9.78.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.77...openssl-sys-v0.9.78)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-27 21:05:11 +01:00
extrawurst
c24db1189e more funding options 2022-11-26 22:02:03 +01:00
extrawurst
6c4ee56eed remove debug sleep (fixes #1451) 2022-11-25 21:16:47 +01:00
extrawurst
ca19d42948 follow up to 9b46bb6 (see #1420)
add standard "Changs to be commited" text on top of changes.
2022-11-23 15:31:37 +01:00
bc-universe
9b46bb63f9 Display commit changes (#1420)
When using an external editor to edit the commit message, the changes are now displayed
2022-11-23 15:26:26 +01:00
extrawurst
8da9cfc21d improve help on where to use amend command 2022-11-23 15:14:29 +01:00
extrawurst
8d2de65868 fix clippy nightly 2022-11-23 15:14:12 +01:00
extrawurst
b987598c7b fix next commit msg from history ordering
and also disable this command if no history is present

this fixes #1445
2022-11-22 12:18:36 +01:00
extrawurst
234e7cb3fc more changelog notes 2022-11-22 11:26:28 +01:00
extrawurst
0b0f550572 fix cargo publish 2022-11-22 11:14:22 +01:00
extrawurst
83d6941c7d cargo update 2022-11-22 11:09:19 +01:00
extrawurst
4ef9659138 prep release 2022-11-22 11:07:41 +01:00
extrawurst
bea70306e2 fix up for 8e8c5fa never showing file tree 2022-11-22 10:55:25 +01:00
extrawurst
8e8c5fad55 make fetching tree files async 2022-11-21 20:16:48 +01:00
extrawurst
bc15b5d550 better link 2022-11-21 18:31:32 +01:00
extrawurst
fbcf908881 update changelog 2022-11-21 18:26:49 +01:00
extrawurst
289f4f3630 cleanup logging 2022-11-21 18:17:28 +01:00
extrawurst
bbcadcb5d1 threaded watcher creation and arg for config
new argument `polling` allows to force watcher to use polling instead of file system events.
this should address the issue in #1436 and maybe even #1437
2022-11-21 18:09:08 +01:00
extrawurst
8cdb02349f scope time repo watcher 2022-11-21 17:04:54 +01:00
extrawurst
92f63d107c support fetching branch_infos async 2022-11-21 16:32:17 +01:00
extrawurst
3fee481e8d fix status_tree not showing while first status loading 2022-11-21 14:45:03 +01:00
extrawurst
3667db37e1 trace app start duration 2022-11-21 14:30:17 +01:00
extrawurst
faf912393b add liberapay 2022-11-20 22:22:44 +01:00
extrawurst
b495425b16 fix changelog 2022-11-19 18:19:21 +01:00
extrawurst
5495e9bec3 fix building asyncgit alone 2022-11-19 17:48:56 +01:00
extrawurst
425e9f091c bump versions (prepare for release) 2022-11-19 17:44:05 +01:00
extrawurst
7efa225f31 fix lints 2022-11-19 17:39:18 +01:00
extrawurst
5c191b9cf3 upgrade textwrap 2022-11-19 17:39:18 +01:00
dependabot[bot]
b693d33c32 Bump clap from 4.0.25 to 4.0.26
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.25 to 4.0.26.
- [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.0.25...v4.0.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-19 17:11:30 +01:00
extrawurst
9cfad7b1d0 fix win ci 2022-11-19 17:11:05 +01:00
dependabot[bot]
c6e7a55fbf Bump clap from 4.0.23 to 4.0.25
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.23 to 4.0.25.
- [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.0.23...v4.0.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 07:19:06 +01:00
extrawurst
c67c2cf622 cargo sort 2022-11-14 16:08:42 +01:00
extrawurst
c03a220990 nightly clippy fix 2022-11-14 15:04:48 +01:00
extrawurst
6b9a91f17d
Edit file from file tree (#1430)
* allow edit file from any StatusTreeComponent
2022-11-14 15:01:34 +01:00
extrawurst
b6ed33037e upgrade clap 2022-11-14 14:57:30 +01:00
extrawurst
fbab49b858 changelog updates 2022-11-14 14:12:16 +01:00
Alexandru Macovei
0f9389c284
display commit description in addition to hash in file view (#1380) 2022-11-14 14:09:15 +01:00
extrawurst
45d850e8ca fix new clippy warnings 2022-11-14 14:06:43 +01:00
dependabot[bot]
5430a4d21d Bump chrono from 0.4.22 to 0.4.23
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.22 to 0.4.23.
- [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.22...v0.4.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 13:52:23 +01:00
dependabot[bot]
5876d617ff Bump pprof from 0.10.1 to 0.11.0
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/pprof-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 09:43:58 +01:00
dependabot[bot]
dbe5a37372 Bump env_logger from 0.9.1 to 0.9.3
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.9.1 to 0.9.3.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.9.1...v0.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 09:43:31 +01:00
dependabot[bot]
2579d6bd6a Bump once_cell from 1.15.0 to 1.16.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 08:29:17 +01:00
Alexandru Macovei
e371153034
Report failure to copy to clipboard (#1410)
* (refactor) move copy_commit_hash from revlog into commitlist, and make fewer functions public in commitlist
* (refactor) reduce duplication in commit copying code; use already-stored commits instead of looking up items
* (clipboard) actually check subprocess exit status, and report failure instead of ignoring it
* (commitlist) display popup with copy failure instead of exiting the application on error
2022-11-05 16:51:03 +01:00
Artur
a172b18428
Add Linux targets for ARM, ARMv7 and AARCH64 (#1419) 2022-11-05 16:46:11 +01:00
extrawurst
a4943224bd fix nightly clippy 2022-11-05 16:33:48 +01:00
Sergio Alejandro Ribera Costa
282e578ac3
Add notification when correctly copying hash commit (#1376) 2022-10-26 14:35:31 +02:00
extrawurst
c705712a05 fix rust clippy 2022-10-26 14:34:33 +02:00
Sergio Alejandro Ribera Costa
e5acee1a0c
Generate rust toolchain file (#1401)
* Generate rust toolchain file
* Make track "stable" channel
* CD workflow override rust toolchain file
2022-10-25 09:17:37 +02:00
extrawurst
fa2ad81bec feature gif 2022-10-24 16:33:58 +02:00
extrawurst
98f6bd4e77 Cargo updates 2022-10-24 11:50:29 +02:00
extrawurst
d92d43afef Revert "Generate rust toolchain file - to develop (and build) (#1397)"
This reverts commit c7e54fa17d.
2022-10-20 16:51:36 +02:00
Tim Abell
5b69f7713f Add link from themes.md to referenced code block
Just for convenience
2022-10-20 16:30:15 +02:00
Alexandru Macovei
9c2d8c0e0d
Display current repository path in the top-right corner (#1387) 2022-10-20 16:23:58 +02:00
Sergio Alejandro Ribera Costa
c7e54fa17d
Generate rust toolchain file - to develop (and build) (#1397)
* Generate rust toolchain file
* Make track "stable" channel
2022-10-20 16:22:19 +02:00
extrawurst
ac67e53b12 dup current branch name in revlog 2022-10-19 14:03:04 +02:00
extrawurst
6dfe5ea62a make more easy to revisit 2022-10-19 13:50:11 +02:00
Alexandru Macovei
6b5745f6c2
Fix Clippy Lints (#1390)
* apply latest nigtly clippy lints
* temporarily disable const fn lints due to nigh false positive count on nightly
2022-10-19 13:45:12 +02:00
Ivan Zvonimir Horvat
e2a0f3800f make: add clean cmd 2022-10-18 13:57:02 +02:00
dependabot[bot]
5b7686bf92 Bump easy-cast from 0.5.0 to 0.5.1
Bumps [easy-cast](https://github.com/kas-gui/easy-cast) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/kas-gui/easy-cast/releases)
- [Changelog](https://github.com/kas-gui/easy-cast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kas-gui/easy-cast/compare/0.5.0...0.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 13:48:36 +02:00
extrawurst
f04af21382 align branch name parenth usage
and added changelog github user name
2022-10-18 13:44:27 +02:00
Alexandru Macovei
216fad3140
Display tags and branches in the revlog (#1371)
* give tags a more distinctive appearance in the revlog
* store branches on commitlist, and display branch labels on head commits
2022-10-18 13:37:20 +02:00
extrawurst
8604b331ae
selected items should have dedicated fg color (#1366)
* selected items should have dedicated fg color
2022-09-30 20:19:37 +02:00
dependabot[bot]
eeb502d0ff Bump thiserror from 1.0.35 to 1.0.37
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.35 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.35...1.0.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 16:48:07 +02:00
extrawurst
049272ea2b fix ci 2022-09-27 14:05:35 +02:00
dependabot[bot]
11adcce84e Bump itertools from 0.10.4 to 0.10.5
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/rust-itertools/itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 08:20:41 +02:00
dependabot[bot]
5cc4c63066 Bump once_cell from 1.14.0 to 1.15.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 08:19:14 +02:00
extrawurst
df43118e55 clarify further 2022-09-20 10:07:30 +02:00
extrawurst
aeb64e1175
Commit msg history (#1346) 2022-09-20 10:07:05 +02:00
extrawurst
ff0c123293 cleanup 2022-09-20 10:01:53 +02:00
extrawurst
16a537c102
Persist all options (#1342)
closes #1340
2022-09-20 08:23:04 +02:00
Emil Jaszczuk
e0fa63c6c9
Allow copying multiple commits (#1288) 2022-09-19 10:54:29 +02:00
extrawurst
9534e4c2f9
persist current tab as options (#1339) 2022-09-18 18:05:29 +02:00
extrawurst
cb01fda516 some logfile cleanup 2022-09-18 15:24:45 +02:00
Jakub Jirutka
f69460cccf
Allow to build without vendored openssl, allow to build syntect with regex-onig (#1323)
* allow to build syntect with regex-onig

Syntect supports two regex engines:

* regex-fancy: a pure-rust regex engine based on the fancy-regex
* regex-onig: a regex engine based on the oniguruma C library

From the syntect's Readme:

> The advantage of fancy-regex is that it does not require the onig
> crate which requires building and linking the Oniguruma C library.
> Many users experience difficulty building the onig crate, especially
> on Windows and Webassembly.

> As far as our tests can tell this new engine is just as correct, but
> it hasn't been tested as extensively in production. It also currently
> seems to be about half the speed of the default Oniguruma engine

Oniguruma engine is faster than the fancy-regex engine and the syntect
project chose the latter as the default only to avoid difficulties with
linking Oniguruma (C library) on some platforms. This is not an issue
for linux distributions - linking against system-provided shared
library is preferred to bundled libraries.

Moreover, gitui built with Oniguruma instead of fancy-regex is by 25%
smaller.

This commit adds two cargo features, regex-fancy and regex-onig, to
enable respective syntect features. The former is enabled by default.

* allow to build without vendored openssl

Vendoring (bundling) openssl library is very bad for security and
Linux distributions forbid it. The aim of this change is to simplify
packaging gitui in linux distros.

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2022-09-18 15:02:01 +02:00
Volker Schwaberow
f2b2665c78 Addresses TODO with macro log_eprintln! 2022-09-18 14:58:39 +02:00
extrawurst
5906a2789d cargo update 2022-09-18 14:57:26 +02:00
dependabot[bot]
882b890738 Bump itertools from 0.10.3 to 0.10.4
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/rust-itertools/itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.3...v0.10.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-18 14:55:09 +02:00
Nitish Kumar
d1566861dd
fix: returns 0 exit code on error (#1322) 2022-09-18 14:54:45 +02:00
Sachin Joseph
ddf8c69253
Add a Readme entry for Winget-based installation (#1337) 2022-09-18 14:09:19 +02:00
Niko Heiskanen
0a970db24a
file blame at right revision from commit-details (#1324) 2022-09-18 14:06:46 +02:00
dependabot[bot]
30918d114c Bump anyhow from 1.0.63 to 1.0.65
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.63 to 1.0.65.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.63...1.0.65)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-18 12:41:54 +02:00
dependabot[bot]
e38118836e Bump unicode-width from 0.1.9 to 0.1.10
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.9...v0.1.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 09:43:50 +02:00
dependabot[bot]
eeaed52cd5 Bump textwrap from 0.15.0 to 0.15.1
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.15.0...0.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 09:42:48 +02:00
dependabot[bot]
c99cdab614 Bump unicode-segmentation from 1.9.0 to 1.10.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits/v1.10.0)

---
updated-dependencies:
- dependency-name: unicode-segmentation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-14 10:30:34 +02:00
dependabot[bot]
90c5d11e56 Bump thiserror from 1.0.34 to 1.0.35
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.34...1.0.35)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-14 10:29:45 +02:00
dependabot[bot]
89b499274e Bump clap from 3.2.20 to 3.2.21
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.20 to 3.2.21.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.21/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.20...v3.2.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 23:20:45 +02:00
dependabot[bot]
7ad7f4cbc4 Bump url from 2.3.0 to 2.3.1
Bumps [url](https://github.com/servo/rust-url) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 09:00:59 +02:00
Rodrigo Batista de Moraes
67fa456e08
Add word motions to text input (#1256) 2022-09-08 08:50:08 +02:00
dependabot[bot]
1020346217 Bump url from 2.2.2 to 2.3.0
Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 06:51:31 +02:00
dependabot[bot]
69d98b596e Bump thiserror from 1.0.33 to 1.0.34
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.33...1.0.34)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 11:46:19 +02:00
dependabot[bot]
1d9c1403b9 Bump notify-debouncer-mini from 0.2.0 to 0.2.1
Bumps [notify-debouncer-mini](https://github.com/notify-rs/notify) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/notify-rs/notify/releases)
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/notify-rs/notify/compare/debouncer-mini-0.2.0...debouncer-mini-0.2.1)

---
updated-dependencies:
- dependency-name: notify-debouncer-mini
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 18:03:13 +02:00
extrawurst
0ddec47611 cleanup 2022-09-03 10:22:24 +02:00
extrawurst
589536c2c3 cargo upgrades 2022-09-02 20:10:17 +02:00
extrawurst
609039eb5e update 2022-09-02 10:00:47 +02:00
extrawurst
cf9ce9d4ff
File watching using notify (#1310)
closes #1
2022-09-02 09:59:13 +02:00
dependabot[bot]
5f7213730b Bump which from 4.2.5 to 4.3.0
Bumps [which](https://github.com/harryfei/which-rs) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.5...4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-02 09:18:01 +02:00
extrawurst
5101b39556 switch from lazy_static to once_cell 2022-09-02 09:17:34 +02:00
extrawurst
4249a278b6 nightly clippy fixes 2022-09-02 09:09:29 +02:00
dependabot[bot]
f308bddb77 Bump clap from 3.2.19 to 3.2.20
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.19 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.19...v3.2.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-02 08:58:34 +02:00
dependabot[bot]
862c6b160a Bump thiserror from 1.0.32 to 1.0.33
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.32...1.0.33)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 07:05:40 +02:00
extrawurst
cbb51bd535 submodules gif 2022-08-31 12:06:55 +02:00
extrawurst
77a20fb86f small visual fixes 2022-08-31 11:53:26 +02:00
extrawurst
b9c105605e fix submodules border style 2022-08-31 11:48:28 +02:00
extrawurst
4e0da37230
Support updating submodules (#1305) 2022-08-31 11:40:52 +02:00
extrawurst
986d34a5ac
support opening submodule (#1298) 2022-08-31 10:51:08 +02:00
dependabot[bot]
aa9ed3349f Bump anyhow from 1.0.62 to 1.0.63
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.62...1.0.63)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 08:18:28 +02:00
dependabot[bot]
79e42391ac Bump clap from 3.2.18 to 3.2.19
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 3.2.19.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.19/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 08:18:09 +02:00
ImgBotApp
a79967fcd8 [ImgBot] Optimize images
/assets/submodules.png -- 152.13kb -> 126.56kb (16.81%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-08-30 22:55:02 +02:00
extrawurst
65b121179d shorter changelog entry 2022-08-30 14:09:24 +02:00
extrawurst
69d30a2cd0 make cmdbar_bg style default to blue again 2022-08-30 14:05:10 +02:00
Luigi Clemente
bacf81f6d6
Improve UI selection and command bar (#1299)
* Added new color for commands bar
* Made commit list item and file tree item fill the entire row
2022-08-30 14:03:35 +02:00
extrawurst
f4f560ce5f cargo update 2022-08-30 13:48:23 +02:00
extrawurst
8c32ec53ee pretty_assertions migrated away from ansi-termi
this closes #1290
2022-08-30 13:46:06 +02:00
dependabot[bot]
0879c2ff9e Bump pprof from 0.10.0 to 0.10.1
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.10.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 08:05:58 +02:00
dependabot[bot]
3c2df73371 Bump clap from 3.2.17 to 3.2.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.17...v3.2.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 08:05:42 +02:00
extrawurst
1787917c13 fix small todo 2022-08-28 13:35:39 +02:00
extrawurst
05d456a462 cleanup 2022-08-28 13:34:04 +02:00
extrawurst
7068332095 cargo update 2022-08-27 17:56:12 +02:00
extrawurst
ef3ece552d
PoC list submodules (#1090) 2022-08-27 17:55:06 +02:00
dependabot[bot]
bcb565788e Bump serde from 1.0.143 to 1.0.144
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 08:50:03 +02:00
dependabot[bot]
d6a84c1bd2 Bump easy-cast from 0.4.4 to 0.5.0
Bumps [easy-cast](https://github.com/kas-gui/easy-cast) from 0.4.4 to 0.5.0.
- [Release notes](https://github.com/kas-gui/easy-cast/releases)
- [Changelog](https://github.com/kas-gui/easy-cast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kas-gui/easy-cast/compare/0.4.4...0.5.0)

---
updated-dependencies:
- dependency-name: easy-cast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 08:49:51 +02:00
extrawurst
e68e5e2f46 fix one more TODO 2022-08-21 15:11:12 +02:00
extrawurst
586acc434d Merge branch 'remove-another-clippy-workaround' 2022-08-21 15:03:55 +02:00
extrawurst
200563aa58 remove another clippy ignore 2022-08-20 15:13:34 +02:00
extrawurst
12a6ecb9f7 remove another clippy workaround 2022-08-20 15:12:06 +02:00
extrawurst
b71052ef9d remove audit ignores 2022-08-20 15:09:57 +02:00
extrawurst
b9dba008aa cargo updates 2022-08-20 14:51:18 +02:00
extrawurst
79f1be0983 Merge branch 'fix-some-clippy-workarounds' 2022-08-20 14:44:12 +02:00
extrawurst
0e2262882b fix some clippy workarounds 2022-08-20 11:52:13 +02:00
extrawurst
8e54bfd364 upgrade crossterm/tui 2022-08-17 22:12:39 +02:00
extrawurst
2eee7e9b0e bump dep 2022-08-17 20:05:06 +02:00
extrawurst
d040b33559 fix changelog 2022-08-17 20:05:01 +02:00
extrawurst
02f1555103 update changelog 2022-08-17 19:53:00 +02:00
extrawurst
6630dca197
add cargo deny to CI (#1285)
* check duplicate dependencies
* also use cargo-deny for licenses checking
* also run cargo deny check in make check
2022-08-17 19:48:14 +02:00
JayceFayne
d4949a676b
support copy to clipboard on wayland (#1233) 2022-08-17 19:46:56 +02:00
extrawurst
074bb7cdb5 less chrono features/dependencies 2022-08-17 19:05:12 +02:00
dependabot[bot]
dbc927779a Bump ron from 0.7.1 to 0.8.0
Bumps [ron](https://github.com/ron-rs/ron) from 0.7.1 to 0.8.0.
- [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.7.1...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 18:46:53 +02:00
extrawurst
8986f70a89 missing changelog 2022-08-17 18:31:49 +02:00
André Kelpe
caa7840091 mention macports in install section 2022-08-17 18:29:43 +02:00
extrawurst
948f4bb287 clap unittest 2022-08-17 18:23:55 +02:00
extrawurst
7d9e6f8c4d prepare for release 0.21 2022-08-17 17:30:11 +02:00
extrawurst
64f68fa668 remove old clippy ignores 2022-08-17 17:29:49 +02:00
extrawurst
594dd12864 fix 2022-08-17 16:56:54 +02:00
extrawurst
fa8d8aff62 update changelog 2022-08-17 16:38:46 +02:00
Stephan D
4a0e58ae15
msrv 160 (#1279)
* bump edition
* msrv 160
* upgrade clap and more deps
2022-08-17 16:30:54 +02:00
extrawurst
70e6a3db6e update 2022-08-15 13:00:50 +02:00
extrawurst
3ce715178b upgrade syntact to get rid of plist and #1275 2022-08-15 12:50:10 +02:00
extrawurst
32a9dbf43e upgrade 2022-08-06 17:00:19 +02:00
dependabot[bot]
8fd5d991bd Bump backtrace from 0.3.64 to 0.3.66
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.64 to 0.3.66.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.64...0.3.66)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 15:49:51 +02:00
dependabot[bot]
6b424403b3 Bump thiserror from 1.0.30 to 1.0.32
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.32.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 15:49:23 +02:00
dependabot[bot]
0d9b6e3fef Bump serde from 1.0.136 to 1.0.142
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.142.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.142)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 15:48:56 +02:00
extrawurst
300e799aea update chrono dependency 2022-08-05 14:14:38 +02:00
Chigozie Joshua
edf798b91b
Refactor async tags (follow up PR) (#1245)
* AsyncTags
* Verify hash of last hash
* Make default Tags notification 'FinishUnchanged'
* fixed bug preventing tags from displaying

Co-authored-by: Martijn van Eijk <mfveijk@gmail.com>
Co-authored-by: extrawurst <mail@rusticorn.com>
2022-07-04 10:45:26 +02:00
extrawurst
1985fd2dbc clippy nighytly fix 2022-07-04 10:43:30 +02:00
extrawurst
c1cb868c4b fix nightly clippy 2022-07-02 08:17:15 +02:00
extrawurst
ad0ec7e9b8 add sparse repo limitation 2022-05-11 12:41:50 +02:00
ImgBotApp
0ab88f9cb2 [ImgBot] Optimize images
*Total -- 798.80kb -> 709.48kb (11.18%)

/assets/bad-credentials.png -- 125.33kb -> 68.70kb (45.18%)
/assets/termux-android.jpg -- 673.46kb -> 640.78kb (4.85%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-04-25 22:10:52 +02:00
extrawurst
149841c604 doc comment 2022-04-24 22:34:50 +02:00
extrawurst
cce49a34b7 Revert "Change diff renamed files (#1040)"
This reverts commit 5f466ff983.
2022-04-24 22:30:40 +02:00
extrawurst
c3dbce1cd6 cargo fmt 2022-04-24 20:12:47 +02:00
Luka Markušić
638d7c2648
Sort fuzzy_matcher results based on score (#1183)
Co-authored-by: Stephan D <776816+extrawurst@users.noreply.github.com>
2022-04-24 20:11:26 +02:00
Gleb Davydov
5f466ff983
Change diff renamed files (#1040) 2022-04-24 19:25:50 +02:00
splitDEV
13afbf6bba
Add support for GIT_DIR and GIT_WORK_TREE environment variables (#1191)
* Use git env variables for git dir and git workdir

* Add changes to CHANGELOG.md

* Fix indentation

* Add link to PR

Co-authored-by: Stephan D <776816+extrawurst@users.noreply.github.com>
2022-04-24 19:12:00 +02:00
extrawurst
da531c61f6 added faq page 2022-04-24 18:58:50 +02:00
Stephan D
02efae1499
Fix stashlist after marked drop (#1207) 2022-04-23 19:01:15 +02:00
extrawurst
96aa346292 fix a bunch of links 2022-04-23 18:39:33 +02:00
dependabot[bot]
ece358fcc0 Bump anyhow from 1.0.56 to 1.0.57
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.56...1.0.57)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 11:10:17 +01:00
dependabot[bot]
bdf90e94da Bump log from 0.4.14 to 0.4.16
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-17 16:50:59 +01:00
extrawurst
3c27d4f9f5 nightly clippy fix 2022-04-17 16:47:00 +01:00
Philippe Eberli
b18cabf4d3 Fix URL to issue 846 2022-04-17 16:44:36 +01:00
dependabot[bot]
8dafa1266e Bump rayon-core from 1.9.1 to 1.9.2
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 18:05:21 +01:00
dependabot[bot]
505e01664f Bump crossbeam-channel from 0.5.3 to 0.5.4
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.3...crossbeam-channel-0.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 08:32:06 +01:00
dependabot[bot]
c807ae4950 Bump which from 4.2.4 to 4.2.5
Bumps [which](https://github.com/harryfei/which-rs) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.4...4.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 08:26:05 +01:00
dependabot[bot]
fefe9450bd Bump git2 from 0.14.1 to 0.14.2
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.14.1...0.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 10:32:18 +01:00
dependabot[bot]
3743983b70 Bump crossbeam-channel from 0.5.2 to 0.5.3
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.2...crossbeam-channel-0.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 10:30:45 +01:00
Stephan D
2a578889f3
switch focus to index after staging last file (#1170) 2022-03-10 00:50:37 +01:00
extrawurst
dadf8ba269 fix nightly build 2022-03-09 21:34:31 +01:00
simonbusch
c2d57fca98 fix typo in readme. 2022-03-08 23:18:57 +01:00
dependabot[bot]
a620d1a01c Bump anyhow from 1.0.55 to 1.0.56
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.55...1.0.56)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 12:42:22 +01:00
dependabot[bot]
f1b2a43f53 Bump git2 from 0.14.0 to 0.14.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.14.0...git2-curl-0.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 17:46:46 +01:00
dependabot[bot]
df7ed1a6d0 Bump anyhow from 1.0.54 to 1.0.55
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.54 to 1.0.55.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.54...1.0.55)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 21:04:55 +01:00
extrawurst
b0eaca72cb cargup update 2022-02-25 21:04:07 +01:00
extrawurst
3838fe74df cleanup 2022-02-25 10:58:52 +01:00
extrawurst
3347003fff do not advertise buymeacoffee anymore 2022-02-25 10:58:46 +01:00
extrawurst
970931abfc update changelog 2022-02-22 01:06:11 +01:00
dependabot[bot]
02170ee280 Bump serial_test from 0.5.1 to 0.6.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.5.1...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 01:04:41 +01:00
dependabot[bot]
fa541fb797 Bump anyhow from 1.0.53 to 1.0.54
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.53 to 1.0.54.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.53...1.0.54)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 01:04:10 +01:00
PeroSar
d7f61ba321 README: Add Termux (Android) installation
Signed-off-by: PeroSar <perosar1111@gmail.com>
2022-02-22 01:01:16 +01:00
extrawurst
77472d086f change author name 2022-02-21 23:33:07 +01:00
dependabot[bot]
9db318ff1f Bump unicode-segmentation from 1.8.0 to 1.9.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits)

---
updated-dependencies:
- dependency-name: unicode-segmentation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 09:17:20 +01:00
Stephan Dilly
86798008ed update changelog 2022-02-06 22:16:19 +01:00
Stephan Dilly
284c57fb72
generic popup stacking solution (#1124)
* generic popup stacking solution
* allow going back to file-revision popup
* do not select diff in coming back to files-revlog
* handle filetree popup via stacking
* allow going back to inspect commit
* allow coming back to compare/inspect commit
2022-02-06 22:13:05 +01:00
Stephan Dilly
e9d8de1be4 cargo update 2022-02-01 23:49:19 +01:00
Stephan Dilly
4f3ecfcd7c
fix left arrow closing popup (#1121)
* fix left arrow closing popup
* fix pageup/down being borked
* adhere to global diff options
* fix build for rust 1.50
* show revision count in header
* allow blaming any specific file revision
* show blame command
* allow opening history from blame
2022-01-31 20:56:59 +01:00
Stephan Dilly
750b45a6c4 fix changelog 2022-01-31 09:48:53 +01:00
Fernando Silva
2745d9f860 fix: blame tabs indentation 2022-01-31 09:47:56 +01:00
dependabot[bot]
6e0e4b57b5 Bump backtrace from 0.3.63 to 0.3.64
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.63 to 0.3.64.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.63...0.3.64)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 08:53:35 +01:00
Stephan Dilly
9ace5357e1 cleanup 2022-01-31 00:40:22 +01:00
Stephan Dilly
457ea47457 file revlog: diff issues
* clear on open
* populate after log was loaded
2022-01-30 23:11:17 +01:00
Stephan Dilly
1013d3fa24 update changelog 2022-01-30 23:03:58 +01:00
Stephan Dilly
194fa6f2e7 perf improvement when fullscreen popup open
do not render tabs when fullscreen popup open
2022-01-30 23:00:00 +01:00
Stephan Dilly
ef78a3a8ba fix file log key events leaking through 2022-01-30 19:41:14 +01:00
Stephan Dilly
f2b09d39c6 clippy nightly fixes 2022-01-30 19:28:45 +01:00
Christoph Rüßler
b622ceef94
Add popup for file history (#841) 2022-01-30 18:50:50 +01:00
Stephan Dilly
3e72539ca1 fix typo 2022-01-27 23:37:22 +01:00
Stephan Dilly
e18aa48aea
fix issue with taglist component without remotes (#1112) 2022-01-27 21:56:54 +01:00
Stephan Dilly
11c055220d changelog 2022-01-26 10:01:55 +01:00
dependabot[bot]
ec8effd963 Bump serde from 1.0.135 to 1.0.136
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.135 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.135...v1.0.136)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 09:56:43 +01:00
Stephan Dilly
fce9b90071
Fix 1104 performance regression (#1107) 2022-01-26 09:56:17 +01:00
Stephan Dilly
53e855e488 use auto proxy option 2022-01-26 09:54:48 +01:00
Stephan Dilly
bfba218fb4 bump versions 2022-01-26 00:35:05 +01:00
Stephan Dilly
6cf39a88f5
Fix 1102 performance reg (#1103) 2022-01-26 00:30:19 +01:00
Stephan Dilly
acb7e52696 fix windows deployment 2022-01-25 21:20:51 +01:00
Stephan Dilly
160bc6b99d prep for release 0.20 2022-01-25 19:52:51 +01:00
Stephan Dilly
98625272fb cargo update 2022-01-25 19:47:54 +01:00
dependabot[bot]
d08fb976e0 Bump anyhow from 1.0.52 to 1.0.53
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.52...1.0.53)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 12:01:40 +01:00
dependabot[bot]
d51f9c5d4b Bump serde from 1.0.133 to 1.0.135
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.133 to 1.0.135.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.133...v1.0.135)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 12:01:23 +01:00
dependabot[bot]
390c65bf37 Bump which from 4.2.2 to 4.2.4
Bumps [which](https://github.com/harryfei/which-rs) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.2...4.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 12:01:10 +01:00
Stephan Dilly
317b245ba0
fix credential.helper config usage inside repo (#1091) 2022-01-24 00:36:58 +01:00
Stephan Dilly
9653545c81 debug print sideband progress 2022-01-22 18:53:59 +01:00
Stephan Dilly
614040b854 add note 2022-01-22 18:50:51 +01:00
Stephan Dilly
14c79c12a6 use @ and style as fat tag symbol 2022-01-22 17:59:11 +01:00
Stephan Dilly
8db28d485a add git-lfs limitation 2022-01-22 16:47:47 +01:00
Stephan Dilly
36e2c4a86e update 1.0 goals 2022-01-22 15:12:21 +01:00
Stephan Dilly
47bc83f243 Revert "cargo update"
This reverts commit 8b00d6756c.
2022-01-22 14:58:06 +01:00
Stephan Dilly
8b00d6756c cargo update 2022-01-22 14:53:35 +01:00
Stephan Dilly
12fbfa0946 prepare for v0.20 release 2022-01-22 01:27:20 +01:00
Stephan Dilly
0874f33eb3 update changelog 2022-01-22 01:21:21 +01:00
Stephan Dilly
166826f5ea allow inspecting tag annotation 2022-01-22 01:21:15 +01:00
Stephan Dilly
a1f3931b59 cargo update 2022-01-21 21:20:47 +01:00
Stephan Dilly
435de9cda3
support hookspath (#1054) 2022-01-17 15:06:54 +01:00
Stephan Dilly
449dc43a5f update 2022-01-17 13:11:30 +01:00
Stephan Dilly
212160a4cb
Test fix cargo wix (#1080) 2022-01-17 13:08:55 +01:00
Stephan Dilly
b51734cce8 changelog gif 2022-01-16 23:04:31 +01:00
Stephan Dilly
13b6b2fdc6
support deleting tag on remote (#1079) 2022-01-16 22:56:39 +01:00
Stephan Dilly
060380fdd6 cargo update 2022-01-16 20:52:33 +01:00
Stephan Dilly
a3d4f2bd5f revert pprof upgrade 2022-01-12 13:17:08 +01:00
Stephan Dilly
9118ed1f30 cargo update tempfile 2022-01-12 12:52:35 +01:00
Stephan Dilly
3fdf5ba618 update changelog 2022-01-12 12:49:32 +01:00
Stephan Dilly
132559ea7f
support annotated tags (#1073) 2022-01-12 12:44:34 +01:00
dependabot[bot]
d6ace56288 Bump simplelog from 0.11.1 to 0.11.2
Bumps [simplelog](https://github.com/drakulix/simplelog.rs) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/drakulix/simplelog.rs/releases)
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/drakulix/simplelog.rs/compare/v0.11.1...v0.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 09:04:44 +01:00
Stephan Dilly
bc0895773c link 2022-01-11 00:11:16 +01:00
dependabot[bot]
25cffab65b Bump crossbeam-channel from 0.5.1 to 0.5.2
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.1...crossbeam-channel-0.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 09:57:07 +01:00
Stephan Dilly
a6ad95a04a relax stale bot 2022-01-09 19:42:58 +01:00
Stephan Dilly
ec6e5987ad fix h for help keybinding in keyconfig example 2022-01-09 17:00:04 +01:00
Stephan Dilly
b6429bc330
do not allow pull on local-only branch (#1067) 2022-01-09 16:31:20 +01:00
Stephan Dilly
1fd81b463e revert commit gif 2022-01-08 00:12:13 +01:00
dependabot[bot]
6b83956138
Bump serde from 1.0.132 to 1.0.133 (#1060)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133)

---
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>
2022-01-05 22:46:19 +01:00
Stephan Dilly
6f70652d42 update licenses 2022-01-02 11:33:52 +01:00
Stephan Dilly
d5d36de01e
implement reverting commit from revlog (#1057) 2021-12-29 16:40:22 +01:00
Stephan Dilly
508ee35ce5 update roadmap 2021-12-29 11:19:42 +01:00
Stephan Dilly
566c449384 revert pprof 2021-12-25 21:57:04 +01:00
uniqueNullptr2
e7f15ae457
Disable fetch,pull,push when no remote defined (#1051) 2021-12-25 21:37:30 +01:00
Stephan Dilly
4b03e92cb9 cargo upgrades 2021-12-25 21:27:24 +01:00
dependabot[bot]
2c5bd289bf Bump anyhow from 1.0.51 to 1.0.52
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-25 20:41:13 +01:00
dependabot[bot]
8dc669893f Bump serde from 1.0.131 to 1.0.132
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 18:37:28 +01:00
Stephan Dilly
d790b48f5d fix nightly clippy 2021-12-19 21:05:05 +01:00
Stephan Dilly
10b4704662
run hooks in correct pwd (#1049)
see #1046
2021-12-17 00:46:08 +01:00
Stephan Dilly
cef0de4f0e changelog 2021-12-15 15:34:50 +01:00
Stephan Dilly
55b9877e93 use .git path instead of workdir finding hooks
fixes #1046
2021-12-15 15:33:09 +01:00
Stephan Dilly
12f3d97ef0 cargo update 2021-12-15 10:29:01 +01:00
Christian Zangl
70ce3f88d6
add gg/G to vim config (#1041)
see #1039
2021-12-12 18:14:02 +01:00
Stephan Dilly
661e429082 cargo upgrade 2021-12-10 23:31:30 +01:00
Martin Kühl
5550415e3c
cred: check pushurl before checking url (#967)
* cred: check pushurl before checking url

if a remote has both a pushurl and a url, need_username_password should check the pushurl before checking the url since we might not need credentials for the former
2021-12-09 22:47:27 +01:00
Stephan Dilly
9eb30ecb4c clarify colors being defined by your terminal 2021-12-09 21:53:59 +01:00
Stephan Dilly
7c11800250 improved documentation on key bindings overwrites 2021-12-09 21:24:08 +01:00
Stephan Dilly
6249491484
keep commit msg on hook-fail (#1036)
fixes #1035
2021-12-09 21:12:31 +01:00
Stephan Dilly
cd639b29c0
release 0.19 (#1033) 2021-12-08 23:24:01 +01:00
Stephan Dilly
eddc703fb8 fix windows build 2021-12-08 22:24:56 +01:00
Stephan Dilly
a947ce35e7
fix status fetch hanging on bare repos w/o worktree (#1032)
closes #1029
2021-12-08 22:00:55 +01:00
dependabot[bot]
0a6ca35fc7 Bump itertools from 0.10.1 to 0.10.3
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.1 to 0.10.3.
- [Release notes](https://github.com/rust-itertools/itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.1...v0.10.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-07 08:11:54 +01:00
Stephan Dilly
cb1d801be0 finally lifted a limitation 2021-12-05 00:38:54 +01:00
Stephan Dilly
006cdd6373
support bare repos (#1028) 2021-12-05 00:35:45 +01:00
Stephan Dilly
ecabee02da allow opening file selected in tree (#989) 2021-12-02 08:24:13 +01:00
Stephan Dilly
36699a0a36
git2rs upgrade (#1025)
closes #881
2021-12-01 19:32:48 +01:00
Stephan Dilly
328061dec6 file rename 2021-12-01 09:13:05 +01:00
Stephan Dilly
5a7c85daee rename 2021-12-01 09:12:39 +01:00
Stephan Dilly
8fb506520c cargo upgrades 2021-12-01 09:10:24 +01:00
Stephan Dilly
f4ee24055b Add debug log 2021-11-29 23:28:36 +01:00
dependabot[bot]
5c94c18c7b Bump anyhow from 1.0.49 to 1.0.50
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.49...1.0.50)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 08:22:24 +01:00
Stephan Dilly
74c3d6f21c fetch all branches fetches tags aswell 2021-11-28 16:54:37 +01:00
Stephan Dilly
26318c10e9 cargo updates 2021-11-28 14:41:23 +01:00
Stephan Dilly
304c0a3a6b check cargo sort in ci 2021-11-28 14:29:38 +01:00
Stephan Dilly
a847ea2a92 specify changelog better 2021-11-28 14:29:01 +01:00
Stephan Dilly
444e14631d cargo-sort 2021-11-28 13:38:48 +01:00
Stephan Dilly
9038b1d07d pull gets tags on current branch (closes #1013) 2021-11-28 13:37:36 +01:00
Stephan Dilly
3bc4feb2ac enable but ignore certain audits 2021-11-24 14:27:49 +01:00
Stephan Dilly
4d05dea4a6 update changelog 2021-11-23 22:16:15 +01:00
Stephan Dilly
33ac72c8e7
fetch/prune branches (#1000) 2021-11-23 22:14:37 +01:00
dependabot[bot]
ee7ec691f0 Bump anyhow from 1.0.47 to 1.0.48
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.47...1.0.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 08:06:30 +01:00
Stephan Dilly
d285ec0b09 disable sec audit temporarily 2021-11-22 23:51:59 +01:00
Stephan Dilly
cbf53d6013 update main UI aswell to show new branch 2021-11-22 23:04:49 +01:00
ImgBotApp
8466b39226 [ImgBot] Optimize images
/assets/rebase.png -- 509.84kb -> 274.62kb (46.14%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-22 01:12:58 +01:00
Stephan Dilly
21a10a618a screencast 2021-11-22 00:04:18 +01:00
Stephan Dilly
ab908f83df contributors 2021-11-21 22:16:42 +01:00
Stephan Dilly
d617ba76fa simplify key bindings file handling (#946) 2021-11-21 22:10:37 +01:00
Stephan Dilly
f689c428b2 upgrade pprof 2021-11-21 22:05:30 +01:00
Curiosidad-Racional
38cf196b62
File find popup up/down keys resolves #977 (#993) 2021-11-21 20:10:14 +01:00
Stephan Dilly
1d409d31ab simplelog upgrade 2021-11-20 19:04:12 +01:00
Stephan Dilly
cd3989238b changelog update 2021-11-20 18:54:24 +01:00
Stephan Dilly
95b2737d9b document new symbol overwrite feature 2021-11-20 18:53:05 +01:00
Stephan Dilly
3db1a68515
allow config for key symbols (#997)
closes #465
2021-11-20 18:44:04 +01:00
Stephan Dilly
e548e8c75f cargo update 2021-11-20 01:41:28 +01:00
Stephan Dilly
dbf7661521 cargo update 2021-11-17 09:19:49 +01:00
Stephan Dilly
11d1f43830 use new msrv field in cargo.toml 2021-11-14 15:43:02 +01:00
Stephan Dilly
a55dcf62a3
blame: fixup windows paths (#984)
closes #981
2021-11-12 15:52:29 +01:00
Stephan Dilly
3c8eb7e049
improve files in diff speed (#979)
closes #976
2021-11-11 13:36:17 +01:00
Jakub Jirutka
fa7cd37ca7 Make gh-emoji optional
gh-emoji crate includes *images* of GitHub's emoji - this is quite a big
dependency. It increases the binary size by 1 MiB; that's +25 % when
building v0.18.0 on Alpine Linux with build flags to optimize size.
I consider it an unnecessary bloat that should be optional.
2021-11-10 18:07:48 +01:00
Stephan Dilly
0360bdf080 cargo upgrade 2021-11-09 14:23:45 +01:00
Stephan Dilly
c42c9f900a nightly clippy fix 2021-11-09 14:00:41 +01:00
dependabot[bot]
ae15bb41d3 Bump backtrace from 0.3.62 to 0.3.63
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.62 to 0.3.63.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.62...0.3.63)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 10:00:09 +01:00
Stephan Dilly
d7c5bc583f cargo update 2021-11-01 12:10:39 +01:00
dependabot[bot]
056ffb166d Bump ron from 0.6.6 to 0.7.0
Bumps [ron](https://github.com/ron-rs/ron) from 0.6.6 to 0.7.0.
- [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.6.6...v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 22:36:20 +02:00
Stephan Dilly
18e61efae6 fix changelog format 2021-10-24 19:57:35 +02:00
Stephan Dilly
389bd75d46 honor options in stage_all command (see #933) 2021-10-23 15:34:49 +02:00
Stephan Dilly
5c661be159 support home/end keys in branchlist (fixes #957) 2021-10-23 14:39:02 +02:00
Stephan Dilly
dee97a77c4 cargo update 2021-10-23 14:29:18 +02:00
Stephan Dilly
271d3f696c cargo update 2021-10-15 18:54:57 +02:00
Gleb Davydov
899168e1ce
Add highlighting for matches in fuzzy finder (#947)
closes #893
2021-10-15 17:23:57 +02:00
R0nd
153c79a828
support pull from remote (#945)
closes #920
2021-10-13 15:34:58 +02:00
dm9pZCAq
31f677187b
add trace-libgit feature (#905) 2021-10-13 15:32:17 +02:00
Stephan Dilly
d6a2af89ee branch deletion better distinguish local vs remote 2021-10-13 11:55:21 +02:00
Stephan Dilly
035870e52f undo ahash upgrade breaking rust 1.50 compat 2021-10-11 11:37:30 +02:00
Stephan Dilly
d1dcdab288 version bumps 2021-10-11 11:25:50 +02:00
Stephan Dilly
cd3a1e2793 branchlist: do not consume more-key (fixes #944) 2021-10-11 11:14:25 +02:00
Stephan Dilly
39400aac92
pending merge: more obvious repo state visualization (#943)
fixes #925
2021-10-11 11:08:34 +02:00
Stephan Dilly
d78b029c21 cargo update 2021-10-11 11:02:27 +02:00
Alessandro Menezes
6ae5b5e2b2
Add specific key bindings to stage / unstage items (#930)
* Add specific key bindings to stage / unstage items

Feature requested by Issue #909.

* Updating Help popup with stage / unstage keys

* Merging staging and unstaging into a single `stage_unstage_item` key

* Add/remove hunk now use the `stage_unstage_item` key
2021-10-10 02:58:21 +02:00
Alessandro Menezes
8486233053 Fixing the CI Pipeline
Rust nightly (1.57.0-nightly) was throwing errors when running `cargo clippy`.
2021-10-10 02:57:45 +02:00
Alessandro Menezes
d84120a895
Switch to status tab after merge / rebase with conflicts (#932) 2021-10-07 09:33:30 +02:00
Stephan Dilly
c6abbaf4d4
fix hirarchical branch names (#931) 2021-10-06 10:50:57 +02:00
Stephan Dilly
8596e01dcd cargo update 2021-10-06 10:40:13 +02:00
Stephan Dilly
d359fabe7b clippy fixes 2021-09-30 23:30:54 +02:00
R0nd
48f9331b0d
Use git_message_prettify (#924) 2021-09-30 23:20:43 +02:00
Stephan Dilly
5f34e9cc07 updated changelog 2021-09-29 18:59:25 +02:00
Stephan Dilly
e4c7867564
allow rebase with conflicts (#897) 2021-09-29 18:55:47 +02:00
Stephan Dilly
9f8fc6b907 cleanup 2021-09-29 17:38:26 +02:00
Stephan Dilly
23516f1a41 docs 2021-09-29 17:35:47 +02:00
Stephan Dilly
f8bad7d541 cleanup 2021-09-29 17:07:59 +02:00
Scott Reeves
07f5d69a48 Improve contrast in branch popup for selected branch 2021-09-29 16:36:10 +02:00
Stephan Dilly
b73b20072f cargo update 2021-09-29 12:03:16 +02:00
dependabot[bot]
8030ac8867 Bump pretty_assertions from 0.7.2 to 1.0.0
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) from 0.7.2 to 1.0.0.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.7.2...v1.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 07:46:42 +02:00
Stephan Dilly
d2bdec43a1 cleanup 2021-09-26 10:40:55 +02:00
Stephan Dilly
05dd8eff1d cargo fmt 2021-09-25 15:51:33 +02:00
Stephan Dilly
915cece734 cleanup some lints 2021-09-25 15:39:54 +02:00
Stephan Dilly
d541d0d9f8
make fetch more error resilient (#915)
fixing #911
2021-09-24 13:01:55 +02:00
Stephan Dilly
5d01da1c93 cargo update 2021-09-24 12:31:25 +02:00
dependabot[bot]
1bc137ee35 Bump simplelog from 0.10.0 to 0.10.1
Bumps [simplelog](https://github.com/drakulix/simplelog.rs) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/drakulix/simplelog.rs/releases)
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/drakulix/simplelog.rs/compare/v0.10.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-23 06:57:31 +03:00
dependabot[bot]
da99aa07bd Bump openssl-sys from 0.9.66 to 0.9.67
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.66 to 0.9.67.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.66...openssl-sys-v0.9.67)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 10:05:43 +03:00
dependabot[bot]
4993cc8f35 Bump unicode-width from 0.1.8 to 0.1.9
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.8...v0.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 14:15:55 +03:00
dependabot[bot]
99bdb46795 Bump anyhow from 1.0.43 to 1.0.44
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:19:34 +03:00
Stephan Dilly
fa051e9226 nightly clippy fixes 2021-09-17 09:14:28 +00:00
Stephan Dilly
8729530ba9 nightly clippy fixes 2021-09-10 11:19:32 +02:00
Stephan Dilly
33344e93e2 add keybinding notes to changelog 2021-09-10 10:17:33 +02:00
Stephan Dilly
fc4ed855d6 cargo update 2021-09-10 10:14:30 +02:00
Stephan Dilly
7dd6b4e8d8 fix release date 2021-09-10 10:03:56 +02:00
Stephan Dilly
1a8caa32d4 cargo clippy 2021-09-10 10:01:03 +02:00
ImgBotApp
23e52b7c87 [ImgBot] Optimize images
/assets/emojified-commit-message.png -- 367.67kb -> 298.78kb (18.74%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-09-09 11:56:43 +02:00
Stephan Dilly
22037f8991 prepare for release 2021-09-09 11:34:01 +02:00
Stephan Dilly
495b0acbb7 smaller image 2021-09-09 11:06:29 +02:00
Stephan Dilly
417db6ed6c changelog 2021-09-09 11:04:33 +02:00
Stephan Dilly
a12180e2e2 version bumps 2021-09-09 10:14:16 +02:00
Stephan Dilly
28a390cfdd bump git2rs to close #853 2021-09-08 17:10:00 +02:00
Stephan Dilly
62229f4b81
Update README.md 2021-09-07 00:21:25 +02:00
Stephan Dilly
f27227af41
Conflict free rebase (#896)
* unittest for rebasing with conflicts
* hide branchlist after rebase
2021-09-07 00:04:54 +02:00
Stephan Dilly
bf56d3bff2 changelog 2021-09-06 23:09:19 +02:00
Stephan Dilly
cfea72d709 rebase returns generated commit + unittest 2021-09-06 21:20:45 +02:00
Stephan Dilly
b70ea92608 show find command (closes #891) 2021-09-06 14:33:08 +02:00
Stephan Dilly
1e7258b617 cargo update 2021-09-05 10:51:36 +02:00
Stephan Dilly
6be4da873b version bumps 2021-09-05 10:46:27 +02:00
Stephan Dilly
6d6f60349a
More fuzzy finder (#892)
* allow selecting entries in fuzzy finder
* fix fuzzy finder also in files popup
* changelog
2021-09-04 23:56:34 +02:00
Stephan Dilly
26a9aaacf5 rename 2021-09-04 13:28:23 +02:00
Stephan Dilly
24217a12c3 typos 2021-09-04 13:26:50 +02:00
Stephan Dilly
fb2b990072
find files via fuzzy finder (#890) 2021-09-04 10:50:03 +02:00
Stephan Dilly
3b5d43ecb2 cleanup 2021-09-03 00:20:38 +02:00
Stephan Dilly
aaf0e4cfbf &str instead of weird &String 2021-09-02 19:19:09 +02:00
Stephan Dilly
6f2157c1d8 missing changelog (closes #889) 2021-09-02 18:55:20 +02:00
Stephan Dilly
40e03ba7de allow async jobs to set intermediate progress 2021-09-02 18:29:03 +02:00
Stephan Dilly
0454e2a1cd asyncjob supports sending arbitrary notifications
this is used to send progress reports during work on the job
2021-09-02 13:14:36 +02:00
Stephan Dilly
b9e4631ff4 allow async job to return dynamic notification 2021-09-02 11:36:46 +02:00
Stephan Dilly
e5688e3b8b make async test even more resilient 2021-09-02 10:38:37 +02:00
Stephan Dilly
2a2751bf2a fix clippy nightly 2021-09-02 09:15:41 +02:00
Stephan Dilly
8905fd22ea make test more stable 2021-09-01 23:02:08 +02:00
Stephan Dilly
777d362dfc less unneeded sleep 2021-08-31 18:12:09 +02:00
andrewpollack
3a1c1a6b99
merge branch closes window (#882)
fixes #876
2021-08-30 12:16:37 +02:00
Stephan Dilly
361e1d86e9 cargo update 2021-08-30 12:15:18 +02:00
Stephan Dilly
26a3b65312 fix clippy nightly 2021-08-30 12:15:05 +02:00
Stephan Dilly
63ab78ffb7 add missing edit in changelog (#880) 2021-08-28 14:38:04 +02:00
Stephan Dilly
084be75aa3 cargo update 2021-08-28 14:35:32 +02:00
Ashvin Arsakularatne
e275caa872 add scrollbar to revlog 2021-08-28 14:32:12 +02:00
Stephan Dilly
9c7ac0f84d some more immutable string optimizations
and precompute diff line trimming (newlines)
2021-08-27 09:40:45 +02:00
Stephan Dilly
8353dfdd36 use less memory per hunk (immutable string) 2021-08-27 09:31:31 +02:00
Stephan Dilly
a8654329ec allow rebase of a branch (#816) 2021-08-26 20:31:37 +02:00
Stephan Dilly
f51a3a953a todo 2021-08-26 19:27:39 +02:00
Stephan Dilly
6524af65a1 fix filetree content not showing tabs (fixes #874) 2021-08-24 23:02:23 +02:00
ImgBotApp
e500302b8b [ImgBot] Optimize images
/assets/emojified-commit-message.png -- 258.45kb -> 169.83kb (34.29%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-08-23 12:24:11 +02:00
andrewpollack
d3a6fdd2e7
Issue/768/support markdown emoji (#866) 2021-08-23 12:09:00 +02:00
Stephan Dilly
fa1a1c8727 fix tag commit msg in taglist (closes #871) 2021-08-22 23:24:30 +02:00
Stephan Dilly
6b9e211f34 upgrade profiler dependency 2021-08-22 12:54:04 +02:00
Stephan Dilly
60d512a5b3 fix capacity 2021-08-22 12:53:53 +02:00
Stephan Dilly
7e9c988f50 cargo update 2021-08-22 12:30:23 +02:00
Stephan Dilly
70e1e31076 update changelog 2021-08-22 11:54:46 +02:00
Stephan Dilly
49a1855cbb dont use process abort on input thread error (#823)
rather perform a graceful shutdown
2021-08-22 00:25:04 +02:00
Stephan Dilly
eef1a79375 prepare release 2021-08-21 16:23:06 +02:00
Stephan Dilly
81924fb9f8 show subject line of commits compared 2021-08-21 16:11:33 +02:00
Stephan Dilly
3db3b95dd0 fix order of old/new in compare 2021-08-21 15:56:21 +02:00
Stephan Dilly
5672cfd033
compare two commits (#860) 2021-08-21 15:49:39 +02:00
Stephan Dilly
e35b196db6 gettings started with rust link 2021-08-21 15:34:50 +02:00
Stephan Dilly
a5c026378d cargo update 2021-08-21 01:03:54 +02:00
Stephan Dilly
dafbb4c4f3 added one more PR checklist item 2021-08-20 14:15:04 +02:00
Stephan Dilly
68efbe20d7 PR checklist 2021-08-20 14:08:43 +02:00
Stephan Dilly
f23e8df69a update changelog 2021-08-20 14:02:51 +02:00
jedel1043
13a0f4e9e2
Display mark for remote branches with tracking branches (#861) 2021-08-20 13:03:02 +02:00
Stephan Dilly
1faba1760c cleanup 2021-08-19 22:28:57 +02:00
Stephan Dilly
bc611bca52 allow inspecting top commit in branchlist 2021-08-19 22:20:54 +02:00
Stephan Dilly
6abc7d297f changelog 2021-08-19 11:06:10 +02:00
Stephan Dilly
f7ecc0e194 do not fetch filetree on empty repo (closes #859) 2021-08-19 11:05:20 +02:00
imgbot[bot]
2402777427
[ImgBot] Optimize images (#858)
/assets/options.gif -- 255.96kb -> 202.70kb (20.81%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-08-19 09:05:16 +02:00
Stephan Dilly
7cc19f673a
support options for the way we calculate the status (#849) 2021-08-19 02:19:36 +02:00
dependabot[bot]
923323bd71 Bump openssl-sys from 0.9.65 to 0.9.66
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.65 to 0.9.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.65...openssl-sys-v0.9.66)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-18 09:25:30 +02:00
ImgBotApp
ee9a8a6a9f [ImgBot] Optimize images
*Total -- 437.73kb -> 415.90kb (4.99%)

/assets/drop-multiple-stashes.gif -- 103.58kb -> 98.00kb (5.38%)
/assets/branch-validation.gif -- 334.16kb -> 317.90kb (4.86%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-08-18 01:55:38 +02:00
Stephan Dilly
71e5cf1726 resize 2021-08-18 01:53:00 +02:00
Stephan Dilly
2b85b81a3e
drop multiple stashes (#855) 2021-08-18 01:41:33 +02:00
Stephan Dilly
5c694bd696 improve marker styling 2021-08-17 17:54:13 +02:00
Stephan Dilly
3847ec92cf distinct marked commits styling 2021-08-17 14:51:27 +02:00
Stephan Dilly
dad8e8d43d cargo fmt: use hardtabs
since it does not support hard-whitespaces its the only way to make whitespaces consisitent and checked
2021-08-17 14:24:25 +02:00
Stephan Dilly
25a49e22f2 supporting marking commits in the log 2021-08-17 14:21:24 +02:00
Stephan Dilly
a4bdfd16c1 cargo update 2021-08-17 13:45:19 +02:00
Stephan Dilly
0b48e6f4ff
fix tags being fetched every scroll in revlog (#851) 2021-08-17 13:35:59 +02:00
Stephan Dilly
55f224c5ca fix nightly 2021-08-17 13:14:33 +02:00
Stephan Dilly
274dedb5e8 todo 2021-08-15 18:20:44 +02:00
Stephan Dilly
8493ab47e6 update changelog 2021-08-15 18:15:02 +02:00
Stephan Dilly
d4db614a01 update branch list if a push notification arrives 2021-08-15 18:13:54 +02:00
zcorniere
56502ad3fd
ability to delete remote branch (#838)
* added ability to delete remote branch (closes #622)
2021-08-15 17:44:55 +02:00
Stephan Dilly
62ea1dea04 fix progress 0/0 panic 2021-08-15 17:42:25 +02:00
Stephan Dilly
47ff93734e workaround tui-rs issue 2021-08-15 17:18:06 +02:00
Stephan Dilly
047939ba6e update changelog 2021-08-15 15:15:08 +02:00
Stephan Dilly
d42b00389c
check branch name validity while typing (#842)
closes #559
2021-08-15 15:14:35 +02:00
Stephan Dilly
e16dfcaee7
hook into libgit2 tracing (#822) 2021-08-15 14:24:20 +02:00
Stephan Dilly
71b398e858 cargo update 2021-08-15 13:48:26 +02:00
Stephan Dilly
71e3d9a9b8 get_commit_diff on commit with unknown parent (#836) 2021-08-11 13:25:38 +02:00
Stephan Dilly
29f71f50d4 do not allow to ignore gitignore (fixes #825) 2021-08-03 23:47:41 +02:00
Stephan Dilly
d6f43f063e cargo upgrade 2021-08-03 23:00:59 +02:00
Stephan Dilly
0f896933a5 bump tui/crossterm 2021-08-03 22:56:39 +02:00
Philippe
c0022d4eea
Fix the path of the theme file on mac (#819) 2021-07-17 10:31:20 +02:00
Benedykt Jaworski
36e9f7754b
vim style config: allow Q in pop-up inputs (#818)
Change `exit` (which exits the app regardless of context) to <kbd>Ctrl</kbd>+<kbd>C</kbd> (which doesn’t cause quitting on upper-case `Q` insert in popup inputs, cf. #771).
2021-07-15 16:34:00 +02:00
Stephan Dilly
8f12010aa8 use new label to close stale issues (closes #815) 2021-07-12 15:50:41 +02:00
Stephan Dilly
c9a6978fe0 update roadmap to 1.0 2021-07-12 14:38:26 +02:00
Stephan Dilly
19f2fd03cf
app has its own async notifications now (#813)
* app has its own async notifications now
2021-07-11 13:24:19 +02:00
Stephan Dilly
aacc7a3211 version bumps 2021-07-10 14:49:18 +02:00
Stephan Dilly
fe2d577811 more gifs 2021-07-10 14:46:12 +02:00
Stephan Dilly
326e389b5c gif says more than 1000words 2021-07-10 14:37:18 +02:00
Stephan Dilly
23944dc608
error if force push was rejected (#810)
* error if force push was rejected
2021-07-10 14:11:01 +02:00
Stephan Dilly
b6ab0cfa34 cargo update 2021-07-10 12:32:42 +02:00
Stephan Dilly
3a1bcb74a2 try fix ci 2021-07-05 11:18:22 +02:00
Stephan Dilly
ae5df44d4b cargo update 2021-07-05 09:43:19 +02:00
dependabot[bot]
d2e161f1d7 Bump thiserror from 1.0.25 to 1.0.26
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.25...1.0.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 09:05:45 +02:00
Stephan Dilly
c2e6f9ff7e filetree paniced on non utf8 files/paths 2021-07-05 00:26:32 +02:00
dependabot[bot]
f1d2c7a26c Bump textwrap from 0.14.0 to 0.14.2
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.14.0 to 0.14.2.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.14.0...0.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 00:22:13 +02:00
Stephan Dilly
cc526c2970 version in lockfile 2021-06-26 13:48:51 +02:00
Stephan Dilly
1128332e87 fix ci 2021-06-26 13:28:07 +02:00
Stephan Dilly
422ae6a45b cargo update 2021-06-26 13:23:05 +02:00
Stephan Dilly
8d6a75babe quit key binding (closes #771) 2021-06-26 13:15:41 +02:00
Levi Olorenshaw
aee872113b run rustfmt and fix vim style key config test failure 2021-06-26 13:09:48 +02:00
Levi Olorenshaw
f29ba723df add bindings q and ESC for exit if no popup visible 2021-06-26 13:09:48 +02:00
Christoph Rüßler
bce652ecca Add filter to AsyncLog
This is a small change that makes it possible to reuse the logic in
`AsyncLog` for the file history view. `AsyncLog` passes the filter to
`FileLogWalker` unchanged.
2021-06-26 13:07:03 +02:00
dependabot[bot]
7f0a23681a Bump openssl-sys from 0.9.64 to 0.9.65
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.64 to 0.9.65.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.64...openssl-sys-v0.9.65)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 08:26:26 +02:00
dependabot[bot]
5eb31e4ff6 Bump openssl-sys from 0.9.63 to 0.9.64
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.63 to 0.9.64.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.63...openssl-sys-v0.9.64)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 09:39:46 +02:00
Christoph Rüßler
c0296687b8 Add push to commands in tags popup
- Update missing remote tags after tags are pushed.
2021-06-14 23:18:04 +02:00
Christoph Rüßler
2a5834aeb0 Add shortcut for files tab to help 2021-06-14 23:18:04 +02:00
dependabot[bot]
18f35256b3 Bump textwrap from 0.13.4 to 0.14.0
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.13.4 to 0.14.0.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.13.4...0.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 00:19:22 +02:00
Christoph Rüßler
f132722272 Add filter to LogWalker
This is the first step towards adding a file history view. The filter
itself is not related to files specifically, though. It could also be
used for different purposes.
2021-06-14 00:18:10 +02:00
dependabot[bot]
947c4a1a5e Bump itertools from 0.10.0 to 0.10.1
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-itertools/itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 00:15:36 +02:00
Stephan Dilly
850a930053 some cleanup and changelog 2021-06-12 22:41:10 +02:00
Christoph Rüßler
0fa3e0f5a8 Show symbol if tag is not yet pushed
This partly addresses #742.
2021-06-12 22:35:57 +02:00
dependabot[bot]
14ce5a7c58 Bump anyhow from 1.0.40 to 1.0.41
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.40...1.0.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:54:06 +02:00
Stephan Dilly
34321923f8 changelog 2021-06-10 09:58:45 +02:00
Stephan Dilly
5e62217928 fix commit msg details lockin (#780) 2021-06-10 09:56:20 +02:00
Stephan Dilly
3bdb1d3a1a
popups clear help commands (#779)
* popups clear help commands
2021-06-08 11:48:12 +02:00
Stephan Dilly
0f4434cdb6 cleanup 2021-06-08 00:04:52 +02:00
Stephan Dilly
84488855fe clippy fixes 2021-06-07 23:50:35 +02:00
Stephan Dilly
8032c35902 refactor better name 2021-06-07 23:04:07 +02:00
Stephan Dilly
7058ab14d3 abstract queue into custom type 2021-06-07 22:57:27 +02:00
Stephan Dilly
ab5b29e0ee reword changelog 2021-06-07 16:52:23 +02:00
Emil Jaszczuk
b2b5a0faa0
Add undo_last_commit command (#769)
closes #758
2021-06-07 16:46:45 +02:00
Stephan Dilly
12b90715f9
fix openssl vendoring with new resolver (#775)
* run otool in ci
* pin openssl-sys with 'vendored' feature
2021-06-07 14:58:49 +02:00
Stephan Dilly
79c17f4c48 cargo update 2021-06-06 10:24:05 +02:00
Stephan Dilly
a4630cfa73 update readme 2021-06-06 10:20:34 +02:00
Stephan Dilly
4c5fe630fc version bumps 2021-06-06 10:15:28 +02:00
Stephan Dilly
a4ea1337f8 update changelog 2021-06-06 10:12:50 +02:00
Stephan Dilly
9c3f4af396 changelog 2021-06-06 02:12:55 +02:00
Stephan Dilly
bfc732451a fix spinner drawing if char didn't change (#764) 2021-06-06 02:09:40 +02:00
Stephan Dilly
5320d0ee0b fix commit msg details scrolling again 2021-06-06 00:53:27 +02:00
Stephan Dilly
bcc0e16208 rename 2021-06-06 00:36:28 +02:00
Stephan Dilly
ae5ed8ac00 changelog 2021-06-06 00:15:43 +02:00
Stephan Dilly
610eab053c mark longer commit msg than displayed (closes #773) 2021-06-06 00:14:36 +02:00
Stephan Dilly
535486f276 use new VerticalScroll in diff aswell 2021-06-05 23:04:05 +02:00
Stephan Dilly
3a849bc900 use new scroll in files list too 2021-06-05 22:59:00 +02:00
Stephan Dilly
b9c763756a fix scroll being off in branchlist after tab
refactored scroll stuff into new abstraction for reuse
2021-06-05 22:52:46 +02:00
Stephan Dilly
5b07c48234 nightly clippy fixes 2021-06-05 10:28:18 +02:00
Stephan Dilly
6006e7aebd use new custom logwalker 2021-06-04 09:55:19 +02:00
Stephan Dilly
e8c2dc25d4 simplify log walker 2021-06-03 23:55:30 +02:00
Stephan Dilly
3adcb4b8c8 turning time slow sorted revlog off again 2021-06-03 17:47:39 +02:00
Stephan Dilly
869e4b7287
fix path handling on windows (#762)
* this reduces memory overhead where nothing is folded up
* makes folding work with windows path seperators
2021-06-03 00:06:28 +02:00
Stephan Dilly
0e7ac4a14c
improve filetree::new performance (#760)
we used a BTreeMap where ordering does not matter and HashMap performs much better
2021-06-02 00:14:51 +02:00
Stephan Dilly
a4817609fb update changelog 2021-06-01 17:37:54 +02:00
Kieran Siek
a11c0b5eb6
Use libgit2 to get the merge commit message. (#755) 2021-06-01 17:29:24 +02:00
Stephan Dilly
53f65c8377 assert that merge msg is populated correctly 2021-06-01 16:27:37 +02:00
Stephan Dilly
3cd218de57
honor showUntrackedFiles config (#753) 2021-06-01 09:56:55 +02:00
Stephan Dilly
eb28ba1af5 update readme 2021-05-31 20:31:20 +02:00
Stephan Dilly
65524edf0b allow walking repo including all available refs 2021-05-30 12:03:03 +02:00
Stephan Dilly
070ad1bca8 more precise motivation 2021-05-30 10:21:33 +02:00
Stephan Dilly
4fb523b9b1 fix wrong file loaded in tree view 2021-05-29 18:00:26 +02:00
Stephan Dilly
82f5496b04 cargo update 2021-05-29 15:42:25 +02:00
Stephan Dilly
680b178a37 make revlog sorted by time 2021-05-29 15:42:17 +02:00
Stephan Dilly
76002f1b9c update changelog, fix dates 2021-05-28 12:22:50 +02:00
Stephan Dilly
b59e050d67 cleanup some todos 2021-05-28 12:11:39 +02:00
Stephan Dilly
c0ce674438 readme: warn that gpgsign not supported 2021-05-28 11:52:30 +02:00
Stephan Dilly
a5f739aa69 update readme 2021-05-28 11:48:41 +02:00
Stephan Dilly
7fbc3f020d version bump 2021-05-28 11:41:20 +02:00
Stephan Dilly
0e2833224a version bump filetree 2021-05-28 11:36:14 +02:00
Stephan Dilly
e351c410b2 fix demo gif location 2021-05-28 11:34:35 +02:00
Stephan Dilly
b7d7f0ab84 version bump gitui 2021-05-28 11:33:07 +02:00
Stephan Dilly
c8099ee9f9 cleanup 2021-05-28 11:31:43 +02:00
ImgBotApp
8ddeddf8c5 [ImgBot] Optimize images
/filetreelist/demo.gif -- 1,041.05kb -> 910.62kb (12.53%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-05-28 11:20:47 +02:00
Stephan Dilly
470ca4a678 todos 2021-05-28 11:18:58 +02:00
Stephan Dilly
3c8060f6f5 readme for filetreelist 2021-05-28 11:18:54 +02:00
Stephan Dilly
032948f01a rename filetree crate to prepare for publish 2021-05-28 11:10:11 +02:00
Stephan Dilly
bfa83ae343 move async_job abstraction into asyncgit for now 2021-05-28 11:02:31 +02:00
Stephan Dilly
16f03d459e bump asyncgit version 2021-05-28 10:44:10 +02:00
Stephan Dilly
f5b9f7259c more gifs 2021-05-28 09:57:20 +02:00
Stephan Dilly
9700f9f5ee fix margin in file-tree 2021-05-28 09:49:44 +02:00
Stephan Dilly
b8f8081e58 changelog 2021-05-28 00:20:28 +02:00
Stephan Dilly
739d7e7f84
Fix 730 files tab (#743) 2021-05-28 00:15:02 +02:00
Stephan Dilly
1149ddddd3 fix popup draw order (followup to 594a1a9) 2021-05-27 23:20:57 +02:00
Stephan Dilly
5304303aa6 todo 2021-05-27 22:03:09 +02:00
Richard Menzies
594a1a936d
Turn popup functions into macros (#383)
* Make popup functions into macros
* update to master
* simplify

Co-authored-by: Stephan Dilly <dilly.stephan@gmail.com>
2021-05-27 22:02:09 +02:00
Stephan Dilly
ce5a1a754b update readm 2021-05-27 21:11:40 +02:00
Stephan Dilly
e52b4a35d0 changelog update 2021-05-27 21:08:21 +02:00
Christoph Rüßler
2ed6f53dcf Add popup for tags
This closes #483.
2021-05-27 21:02:30 +02:00
Stephan Dilly
bea7edf90e reorder 2021-05-27 09:39:50 +02:00
Stephan Dilly
242319b1d9
Fix 740 gpgsign warning (#741)
* error if gpgsign=true
2021-05-27 09:34:44 +02:00
Stephan Dilly
5a51fc63ad cleanup 2021-05-26 23:23:04 +02:00
Stephan Dilly
246ea9195d more warnings as errors 2021-05-26 09:13:24 +02:00
Stephan Dilly
094a5f360c cleanup 2021-05-25 14:43:20 +02:00
Stephan Dilly
6b237cdced git2-rs pdate 2021-05-24 18:29:48 +02:00
Stephan Dilly
693bc255ab doc key_config file location on windows 2021-05-24 18:06:59 +02:00
Stephan Dilly
a5b63e5936 support common nav for syntax view (closes #725) 2021-05-24 11:07:32 +02:00
Stephan Dilly
0dd1afb9db cargo update 2021-05-24 10:44:43 +02:00
Stephan Dilly
8a3930c315 changelog 2021-05-24 10:38:53 +02:00
Stephan Dilly
7177bb223b change temporary commit msg file path
we now use `.git/COMMIT_EDITMSG` for vim to recognise
2021-05-24 10:37:58 +02:00
dependabot[bot]
fdcd393ce7 Bump thiserror from 1.0.24 to 1.0.25
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.25)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 10:32:27 +02:00
Stephan Dilly
a8bf31b0ab optimize all async job related clones away (#725) 2021-05-24 02:15:52 +02:00
Stephan Dilly
f73cfa01f1 cleanup 2021-05-24 01:34:58 +02:00
Stephan Dilly
eb9b0753a0 show scrollbars in tree and syntax text (#725) 2021-05-24 01:29:48 +02:00
Stephan Dilly
13b346b8b1 fix scrolling bounds (#725) 2021-05-24 01:12:34 +02:00
Stephan Dilly
6ace7f8eea cleanup 2021-05-24 00:35:00 +02:00
Stephan Dilly
a99baa0427 more clippy checks 2021-05-24 00:28:17 +02:00
Stephan Dilly
3ff8584438 remove some excepts 2021-05-24 00:25:54 +02:00
Stephan Dilly
9b6dd60fe0
Stateful paragraph (#729)
* introduce stateful paragraph
* limit scroll
* show focus clearly
2021-05-23 23:42:49 +02:00
Stephan Dilly
7ac40f73eb warning as error 2021-05-23 13:47:14 +02:00
Stephan Dilly
6decd7a638 allow scrolling syntax text (see #725) 2021-05-23 12:37:32 +02:00
Stephan Dilly
eab8fc202b move syntax highlighting into compononent (see #725) 2021-05-23 12:19:38 +02:00
Stephan Dilly
afa10fe756 help note: external editor key bind (closes #728)
plain chars will be interpreted as text.
2021-05-23 11:35:49 +02:00
Stephan Dilly
1034dc1aaf
add syntax highlighting (#727) 2021-05-23 02:45:22 +02:00
Stephan Dilly
a31f185154 loss non-utf8 files lossily (fix #726) 2021-05-22 13:36:16 +02:00
Stephan Dilly
bf148c54d5 update changelog 2021-05-22 00:53:44 +02:00
Stephan Dilly
9ffe52634e treeview shows selectd file content 2021-05-22 00:47:06 +02:00
Scott Reeves
01bd7f6621 allow overriding selected_tab via theme (#722) 2021-05-21 23:12:28 +02:00
Stephan Dilly
0dddc3f66e changelog updated 2021-05-21 17:53:26 +02:00
Scott Reeves
d692d321d3 remove hardcoded white color from selected tab (#719) 2021-05-21 17:49:01 +02:00
Stephan Dilly
65445eba5e support tree-view blaming (see #714) 2021-05-21 17:42:27 +02:00
Stephan Dilly
4591fbb965 tree view commands (see #714) 2021-05-21 17:12:33 +02:00
Stephan Dilly
0e31d57a33
New file tree (#718) 2021-05-21 14:52:05 +02:00
dependabot[bot]
ca35426c6c Bump rayon-core from 1.9.0 to 1.9.1
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.9.0...rayon-core-v1.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 09:06:23 +02:00
Stephan Dilly
5ba657cabe
file tree of a commit (#715) 2021-05-18 00:21:05 +02:00
Stephan Dilly
fce294066c fix logging broken in d4455a2 2021-05-17 00:17:01 +02:00
Stephan Dilly
e03ae0f931 a new 1.0 release feature 2021-05-16 22:07:45 +02:00
Stephan Dilly
715f825f3a update changelog 2021-05-16 22:07:33 +02:00
Stephan Dilly
8ddb3cdac5 move focus after last file staged 2021-05-16 22:05:22 +02:00
Stephan Dilly
d4455a2657 move args stuff into separate file 2021-05-16 17:02:09 +02:00
Lee Bradley
fc5deec424 Allow unit tests to be run offline
Currently unit tests require a remote git repository from GitHub. This
change allows unit tests to be run offline. Closes #613
2021-05-16 14:17:53 +02:00
Stephan Dilly
9117a1a5b7 no file contents
changelog
2021-05-16 14:13:49 +02:00
Zacharie Corniere
5b70e88cc5 feat(bug_report): added bug report cmd option 2021-05-16 14:13:49 +02:00
dependabot[bot]
908defd0b5 Bump serde from 1.0.125 to 1.0.126
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.125 to 1.0.126.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 10:33:08 +02:00
Stephan Dilly
cb52f3fc77 changelog gif 2021-05-12 15:42:03 +02:00
Stephan Dilly
9e3d494dbb wording 2021-05-12 15:37:49 +02:00
Stephan Dilly
017701ffac update changelog 2021-05-12 15:29:56 +02:00
Stephan Dilly
8767642f93 allow pull that creates conflicts now 2021-05-12 15:24:35 +02:00
Stephan Dilly
ca808ca300
update state after merge (#703) 2021-05-12 11:37:21 +02:00
Stephan Dilly
3643cea44d
update branchlist after creating a branch (#702) 2021-05-12 11:37:08 +02:00
Stephan Dilly
f35ce0cbf4
support doing merge commit (#701) 2021-05-12 11:20:39 +02:00
Stephan Dilly
a073e0ac02 preserve ref name in annotated commit 2021-05-12 09:13:28 +02:00
Stephan Dilly
b5327a65c1 rename 2021-05-12 09:01:08 +02:00
Stephan Dilly
f30ec49886
show merge head ids in merge state (#697) 2021-05-11 18:26:12 +02:00
Stephan Dilly
bc7cef747c update changelog 2021-05-11 09:57:55 +02:00
bruceCoelho
a3b4b98d4f Preserves same modal behavior per #679 2021-05-11 09:54:19 +02:00
dependabot[bot]
7e9ab3d2d3 Bump url from 2.2.1 to 2.2.2
Bumps [url](https://github.com/servo/rust-url) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 08:37:53 +02:00
dependabot[bot]
755f9c08bf Bump backtrace from 0.3.58 to 0.3.59
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.58 to 0.3.59.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.58...0.3.59)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 08:37:42 +02:00
Stephan Dilly
4f6aceb3ec
merging a branch (#696)
* merging arbitrary branch
* cleanup intermediate in-merge state
2021-05-09 22:53:12 +02:00
Stephan Dilly
9f37835dc4 cleanup some more expects 2021-05-09 20:39:26 +02:00
Stephan Dilly
423a014b0e
allow input error to be logged and abort program (#693) 2021-05-09 19:13:02 +02:00
Stephan Dilly
43d125b909 make sure clippy runs on workspace 2021-05-09 13:15:00 +02:00
Stephan Dilly
386a31067f cleanup 2021-05-07 12:00:13 +02:00
Stephan Dilly
f836d01492 cargo update 2021-05-06 23:40:39 +02:00
Stephan Dilly
4cebb41cf4
Fix 682 smarter times in log (#683) 2021-05-06 14:11:15 +02:00
Per Westerlund
dfc6496f27 Update themes doc with Windows path 2021-05-05 19:30:35 +02:00
Stephan Dilly
56568e54aa tui update 2021-05-02 20:06:43 +02:00
Stephan Dilly
62c824a51c update changelog and fix clippy warnings 2021-04-30 15:27:01 +02:00
Stephan Dilly
42a792d5b3 warning if first line of commit msg is too long
right now the limit is hardcoded to 50 in accordance to official git best practices

this closes #478
2021-04-30 15:21:45 +02:00
dependabot-preview[bot]
57e02202ac Upgrade to GitHub-native Dependabot 2021-04-29 21:40:11 +02:00
Stephan Dilly
147f65562c cleanup some TODO 2021-04-27 17:51:29 +02:00
Stephan Dilly
a0d16e0f3b cargo update 2021-04-27 17:47:46 +02:00
Stephan Dilly
2a544857d8 blame gif 2021-04-27 15:36:55 +02:00
Stephan Dilly
25a9f4ff10 update readme 2021-04-27 15:17:27 +02:00
Stephan Dilly
01678d2d4b prep release 2021-04-27 15:07:20 +02:00
Stephan Dilly
fb37cec2f0 fix branchlist scrollbr 2021-04-27 15:03:43 +02:00
Stephan Dilly
89211f245e add more sponsoring 2021-04-27 13:24:45 +02:00
Stephan Dilly
fe3e2deb74 update changelog 2021-04-26 14:51:09 +02:00
Stephan Dilly
3ad1911a97 do not fetch commit.template on every update 2021-04-26 14:49:59 +02:00
Wander Nauta
fa606104db
Load a commit.template message if one is configured (#671)
closes #546
2021-04-26 14:37:48 +02:00
Stephan Dilly
838258c933 some cleanup 2021-04-26 11:55:40 +02:00
Stephan Dilly
3bc21767cb update changelog 2021-04-26 11:35:43 +02:00
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum (#666) 2021-04-26 11:33:45 +02:00
Stephan Dilly
9a93bfe8d8 some fun 2021-04-25 14:58:56 +02:00
Stephan Dilly
6c1d9e529b add timing 2021-04-25 14:50:44 +02:00
Stephan Dilly
2df83dfb88 add another PR to changelog 2021-04-25 14:20:26 +02:00
Stephan Dilly
2e357e506c update changelog 2021-04-25 14:19:52 +02:00
Wander Nauta
c42d369d60
Use git2::DiffLineType enum instead of char values (#668)
closes #655
2021-04-25 14:17:57 +02:00
Stephan Dilly
a3f7d189e5
Fix 663 msg scroll (#669)
* fix line skipping and added unittest
2021-04-25 14:09:53 +02:00
Christoph Rüßler
26fbc8650f Add async wrapper to blame
- Rename `self.path` to `self.file_path`.
- Take into account that `draw_scrollbar` subtracts the area’s height
  before calculating the scrollbar’s position.
- Show in title if blame is pending.
2021-04-25 13:35:34 +02:00
Stephan Dilly
ea1415461f add todo 2021-04-24 15:52:21 +02:00
Stephan Dilly
d50e17b353 give blame a more apropriate place in command list 2021-04-24 15:40:16 +02:00
Stephan Dilly
82c52cec37 todo 2021-04-24 15:28:16 +02:00
Christoph Rüßler
3b1a004657 Call get_commits_info instead of get_commit_info
This results in far fewer calls to `repo.find_commit` in almost all
cases.
2021-04-24 15:21:12 +02:00
Stephan Dilly
95c41dbf45
limit log message to first line of commit msg (#662) 2021-04-24 14:55:26 +02:00
Stephan Dilly
97985bfe62 do not run blame on a binary file (earlier out) 2021-04-24 14:05:34 +02:00
Christoph Rüßler
e7b703b922 Improve blame view
- Set default shortcut to `B` instead of `b` because the latter would
  shadow `[b]ranches`.
- Add scrollbar.
- Show resolved commit id in title instead of `HEAD`.
- Make commit id bold if it is the commit id the file is blamed at.
- Don’t run blame on a binary file.
- Add shortcut for inspecting a commit in blame view.
2021-04-24 14:02:51 +02:00
Stephan Dilly
f081cbeb17 fix debug print when adding afile to ignore 2021-04-23 18:10:06 +02:00
Stephan Dilly
98b50580e0 ci improvement 2021-04-22 22:12:44 +02:00
dependabot-preview[bot]
3f2985d582 Bump backtrace from 0.3.56 to 0.3.57
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.56 to 0.3.57.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.56...0.3.57)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 09:18:03 +02:00
Christoph Rüßler
8030022303 Address minor issues in blame view 2021-04-22 09:17:42 +02:00
Stephan Dilly
874d2e41a6 fix ci 2021-04-21 15:21:37 +02:00
Stephan Dilly
38203b5421 update changelog 2021-04-21 15:21:24 +02:00
Christoph Rüßler
b7eed4361e Add blame view
This closes #484.
2021-04-21 15:03:37 +02:00
dependabot-preview[bot]
364c79cfd5 Bump git2 from 0.13.17 to 0.13.18
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.17 to 0.13.18.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.17...0.13.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-21 14:35:07 +02:00
Stephan Dilly
d3e7a7050f
Toc readme (#653) 2021-04-21 14:33:14 +02:00
Stephan Dilly
03441995b2
use new resolver in CI (#649) 2021-04-20 00:23:07 +02:00
Stephan Dilly
d53377aabb fix windows bin size measure 2021-04-19 18:20:21 +02:00
Stephan Dilly
7b98181cbb log binary sizes 2021-04-19 18:16:59 +02:00
Stephan Dilly
524add843d
more lints (#648) 2021-04-18 00:08:35 +02:00
Stephan Dilly
2a3071fd52 cargo update 2021-04-18 00:07:56 +02:00
Stephan Dilly
f0a367c3f5
more linting (#647) 2021-04-17 23:17:19 +02:00
Stephan Dilly
53b2c79877
even more clippy restrtictions (#646)
* even more clippy restrtictions
2021-04-17 18:55:59 +02:00
Stephan Dilly
988df89e97 cleanup 2021-04-14 22:12:53 +02:00
Stephan Dilly
f7a17fa3bb fix empty branch list enter key still accepted and panics 2021-04-14 22:08:36 +02:00
Irmantas Šiupšinskas
b1e7b1381f Updates vim_style_key_config.ron path
With commit #b0b37a8 vim style config path in KEY_CONFIG.md was unchanged
2021-04-13 10:18:16 +02:00
Stephan Dilly
ee5b9d9f4e
Fix exit on fetching a branch that has no upstream/remote (#638)
* do not assume remote/upstream of a branch anymore
2021-04-12 16:47:08 +02:00
Stephan Dilly
6594a8d31c cargo updates 2021-04-11 23:31:59 +02:00
Stephan Dilly
b0b37a84e4 cleanup cargo deplyment 2021-04-11 23:06:39 +02:00
Stephan Dilly
e5c1fa4ae9 version bump 2021-04-11 22:57:30 +02:00
Stephan Dilly
5eaafb0267 version bump 2021-04-11 22:52:59 +02:00
Stephan Dilly
6274777eed
simplify toggling remote/local via tabs (and tab key) (#635)
* simplify toggling remote/local via tabs (and tab key)
2021-04-11 22:45:10 +02:00
Stephan Dilly
b546900e8f
Fix 623 head remote (#631) 2021-04-11 18:08:12 +02:00
Stephan Dilly
7bc3ee1dd3 reorder 2021-04-11 17:55:57 +02:00
ImgBotApp
02e80eb639 [ImgBot] Optimize images
/assets/stash_pop.gif -- 1,079.99kb -> 276.56kb (74.39%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-11 17:45:59 +02:00
Stephan Dilly
f284aca6b0 gif of stash_pop 2021-04-11 17:32:16 +02:00
Stephan Dilly
50d863aa1c update changelog 2021-04-11 13:21:24 +02:00
brunohgouveia
79a38a70b9 Add pop stash command on Staches tab 2021-04-11 13:17:26 +02:00
Bruno Gouveia
1d90219df9 Fix CommitMessage combine wrongly concatenating subject to body 2021-04-08 20:49:11 +02:00
Stephan Dilly
0a608ae65e
Fix 624 pull offline (#625)
* fix pull being blocked if it fails
* update changelog
2021-04-07 10:57:03 +02:00
ImgBotApp
e65218db01 [ImgBot] Optimize images
/assets/checkout-remote.gif -- 809.70kb -> 166.21kb (79.47%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-06 19:19:28 +02:00
Stephan Dilly
f390fe8ded readme/changelog 2021-04-06 18:58:13 +02:00
Stephan Dilly
6f722b4806 fix branchname width misalignment 2021-04-06 18:51:24 +02:00
Stephan Dilly
b5f1e76455
Remote branches (#618)
* allow checking out remote branch
* set tracking branch on checking out remote
* fix unittests by making branch list stable sorted by name
2021-04-06 18:16:08 +02:00
Stephan Dilly
6e231ad63c update changelog 2021-04-03 13:19:48 +02:00
Stephan Dilly
2596c8b1e3 fix panic on staging lines involving missing newline eof 2021-04-03 13:19:01 +02:00
Stephan Dilly
eae99eadc3
Ci for older rust (#610)
* add ci for older rust version
2021-03-30 14:16:50 +02:00
Benedykt Jaworski
9b531d3dc5 Fix commit_amend in vim style key config 2021-03-29 15:00:41 +02:00
dependabot-preview[bot]
2ded43dca2 Bump simplelog from 0.9.0 to 0.10.0
Bumps [simplelog](https://github.com/drakulix/simplelog.rs) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/drakulix/simplelog.rs/releases)
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/drakulix/simplelog.rs/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 14:59:50 +02:00
dependabot-preview[bot]
f6ab69ece4 Bump which from 4.0.2 to 4.1.0
Bumps [which](https://github.com/harryfei/which-rs) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/4.0.2...4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 13:24:25 +02:00
Stephan Dilly
0e85896552 fix nightly 2021-03-29 13:08:20 +02:00
Stephan Dilly
a434bfb125 use new debug symbol splitting 2021-03-29 13:08:20 +02:00
dependabot-preview[bot]
484195197b Bump anyhow from 1.0.39 to 1.0.40
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.39...1.0.40)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 09:36:15 +02:00
Stephan Dilly
dcc01fb80e migrate some more to unicode-truncate crate 2021-03-25 09:43:35 +01:00
dependabot-preview[bot]
36b8ca65d4 Bump anyhow from 1.0.38 to 1.0.39
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.38...1.0.39)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-24 11:18:18 +01:00
Stephan Dilly
2e5b344c04
branchlist was ignoring unicode boundaries on truncating strings (#603)
* branchlist was ignoring unicode boundaries on truncating strings (fixes #602)
2021-03-24 11:16:01 +01:00
dependabot-preview[bot]
0a3c3c85a8 Bump serde from 1.0.124 to 1.0.125
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 09:25:20 +01:00
Stephan Dilly
a2661a1309 update changelog 2021-03-21 18:43:01 +01:00
Benedikt Terhechte
656561e3eb
Add g to toggle between staging and workdir (workarea) (#595)
closes #594
2021-03-21 18:37:53 +01:00
Stephan Dilly
63e5b29b57 enforce line endings 2021-03-21 18:33:36 +01:00
Stephan Dilly
a2ca58a3f6
use branches upstream remote if it is already tracked (#598)
closes #597
2021-03-20 18:47:53 +01:00
Stephan Dilly
e9b296ac62 add remote name per branch 2021-03-20 17:58:03 +01:00
Stephan Dilly
ae57cf3985 add unittest for inconclusive default remote (#492) 2021-03-20 15:57:48 +01:00
dependabot-preview[bot]
2989df03f1 Bump pprof from 0.4.2 to 0.4.3
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.4.2...v0.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-20 15:47:31 +01:00
László Várady
f31bdc9e54 Update Arch Linux install section of README
gitui is now part of the Arch Linux official community repository.
2021-03-16 21:10:58 +01:00
Stephan Dilly
38f9ab461c link blog post 2021-03-15 12:06:21 +01:00
Stephan Dilly
f69ab5e719 fix nightly clippy 2021-03-15 11:11:20 +01:00
Stephan Dilly
f232ed8107 prepare 0.13 release 2021-03-14 12:58:58 +01:00
Stephan Dilly
70d4c5b1d5 bump versions 2021-03-14 12:48:22 +01:00
Stephan Dilly
969065e006 one more gif 2021-03-14 12:46:19 +01:00
Stephan Dilly
37415259b1 cleanup commands in status/diff (closes #572) 2021-03-14 12:33:55 +01:00
Stephan Dilly
7d4b79606c
smarter config loading giving more diagnostics to the user about whats going wrong (#589) 2021-03-14 00:25:30 +01:00
Stephan Dilly
52bf018515 rename new key 2021-03-13 20:36:48 +01:00
Stephan Dilly
39442ba6c2
Fix 586 deadlock pull creds (#587)
* fix deadlock when closing credentials input without completing
* fix same deadlock in push/push-tags
2021-03-13 20:31:32 +01:00
Stephan Dilly
973de105e0 cargo update 2021-03-13 18:43:01 +01:00
Stephan Dilly
7e191d3ee5 changelog gif 2021-03-13 13:55:44 +01:00
Stephan Dilly
7937b80483
Fix 583 fix diff line selection (#585)
Preserve line selection after staging/unstaging/discard (closes #583)
2021-03-12 23:57:31 +01:00
Stephan Dilly
e08f357f57 nightly clippy fix 2021-03-12 13:37:05 +01:00
Stephan Dilly
18c31dc6e0 unittest to make sure rebase merge multiple commits also works 2021-03-12 12:12:14 +01:00
Stephan Dilly
6430484a97 fix detached head after rebase merge 2021-03-12 12:04:37 +01:00
Stephan Dilly
15a6565908 cleanup 2021-03-11 12:15:29 +01:00
Stephan Dilly
bfa240115c
support rebase merge (conflict free only) (#567) 2021-03-11 11:49:04 +01:00
Stephan Dilly
b5ef9b10f1
Stage/unstage lines (#575) 2021-03-10 22:27:02 +01:00
ser-drephs
64acf1c13b docs: adds windows log file location to readme 2021-03-10 17:31:41 +01:00
Stephan Dilly
25198101f2 cleanup 2021-03-10 15:44:42 +01:00
Stephan Dilly
9fed464f99 changelog 2021-03-09 14:22:21 +01:00
Stephan Dilly
c79b3d74fa
Fix 576 stash apply conflicts (#578)
* unittest that applying with conflicts errors out and prepare for stash apply to allow creating conflicts for later
* mark conflicting items
2021-03-09 14:14:16 +01:00
Stephan Dilly
cfd5c6ad03 update license 2021-03-09 11:36:54 +01:00
Stephan Dilly
6e5db96c19
support discard selected lines (#571) 2021-03-08 18:00:30 +01:00
dependabot-preview[bot]
f86faf6406 Bump serde from 1.0.123 to 1.0.124
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 17:18:51 +01:00
Stephan Dilly
dcfdc42003 cleanup 2021-03-08 01:51:55 +01:00
Stephan Dilly
f1fcd341c6
add support for pushing tags (#569) 2021-03-05 17:49:40 +01:00
Stephan Dilly
0d9a973e79 fix pull popup not closing after nothing arrived 2021-03-04 16:08:23 +01:00
Stephan Dilly
50e3ab44e0 rc postfix breaks wix 2021-03-04 16:06:53 +01:00
Stephan Dilly
dd74739252 simplify dependency 2021-03-03 22:31:41 +01:00
Stephan Dilly
f84f6f458f bump version 2021-03-03 22:13:06 +01:00
Stephan Dilly
9d3fafaf00 cleanup 2021-03-03 22:12:05 +01:00
Stephan Dilly
51c9085d7c
user confirm merge (#565) 2021-03-03 22:06:41 +01:00
Stephan Dilly
d1095c35ba Merge 'master' from git@github.com:extrawurst/gitui.git 2021-03-03 19:17:39 +01:00
Stephan Dilly
99f5305fb7 cargo update 2021-03-03 19:16:59 +01:00
Stephan Dilly
36c124f9e3
refresh compare state at the right time (#564) 2021-03-03 18:40:00 +01:00
Stephan Dilly
a427874137 update changelog and readme 2021-03-02 12:52:02 +01:00
Stephan Dilly
1714fbad49
support conflict-free merge-commit (#561)
* support conflict-free merge-commit
2021-03-02 12:49:12 +01:00
Stephan Dilly
bead96db08 workaround for rust nightly clippy bug 2021-03-02 09:23:34 +01:00
Stephan Dilly
7de5265d5d clippy fixes 2021-03-02 00:21:16 +01:00
ImgBotApp
914cc86453 [ImgBot] Optimize images
*Total -- 1,483.02kb -> 115.83kb (92.19%)

/assets/chars_and_branchname.gif -- 1,324.54kb -> 97.60kb (92.63%)
/assets/pull.gif -- 158.47kb -> 18.23kb (88.5%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-03-01 14:36:28 +01:00
Stephan Dilly
4126de0ec7 rename 2021-03-01 14:36:09 +01:00
Stephan Dilly
26d63a37a0 show progress in spinner when push/pull is ongoing 2021-03-01 14:35:37 +01:00
Stephan Dilly
49316baf86 some readme updates 2021-03-01 14:31:34 +01:00
Stephan Dilly
ee9ae4b2fd
changelog update (#556)
+ small renaming
2021-03-01 14:20:47 +01:00
Stephan Dilly
4d4761ed21
fix fetch notifications (#555)
* fix fetch notifications
* actually show fetch transfer progress
* reduce sleep because it significantly slows down fetching
2021-03-01 12:32:39 +01:00
Stephan Dilly
dfa4d7789d
only even try to ff merge when there is something incoming (#554)
* Update pull.rs
2021-03-01 11:10:25 +01:00
Stephan Dilly
102b0b31fb file rename 2021-03-01 09:51:15 +01:00
Stephan Dilly
a8690e6e24 rename 2021-03-01 09:49:17 +01:00
Stephan Dilly
67f3a13716
only show non-clean repo states (#553)
* only show repo state if not clean
2021-03-01 00:12:09 +01:00
Stephan Dilly
fa93594f03 cargo update 2021-02-28 23:42:11 +01:00
Stephan Dilly
f8305f3f3c fix vim keys 2021-02-28 23:42:01 +01:00
Stephan Dilly
97f88a2f2f rename 2021-02-28 19:34:45 +01:00
Stephan Dilly
bd54b47d19 rename fetch to pull 2021-02-28 19:25:16 +01:00
Stephan Dilly
39fb65b396
Async fetch (#552)
* async fetch
* reuse remote progress for fetch
* prvent push/fetch popup from closing too soon
2021-02-28 19:24:05 +01:00
Stephan Dilly
c96feb0fe6
branch merge from upstream (#384)
* better structure of all branch functions
* support and unittest fast forward merge
2021-02-28 01:55:35 +01:00
Stephan Dilly
c1565eb000 nightly clippy fixes 2021-02-27 18:16:38 +01:00
Stephan Dilly
4b107be7be make use of clippy config 2021-02-27 17:49:22 +01:00
Antonio Yang
754e88087c
Update Readme (#551) 2021-02-25 17:31:36 +01:00
Stephan Dilly
8d4c1ca26e
don't close branchlist every time (#550)
* do not close branchlist after branch rename 
* do not close branchlist after deleting a branch
* closes #543
2021-02-25 15:54:18 +01:00
Stephan Dilly
dc3775caa2 mark breaking change more clearly 2021-02-25 15:11:42 +01:00
Stephan Dilly
e948ca850e added changelog
see #549
2021-02-25 15:09:13 +01:00
Antonio Yang
7b94358d11
Fix vim default config (#549) 2021-02-25 14:59:45 +01:00
Stephan Dilly
06622008da fix regression in async diff (introduced in 546c7f3) 2021-02-24 22:15:10 +01:00
Stephan Dilly
6482c81382 support left arrow to go back grom commit details (closes #418) 2021-02-24 22:12:23 +01:00
Stephan Dilly
546c7f3072
fix some potentials for errors to bubble up (#547)
* fix some potentials for errors to bubble up (#490)
* fix async diff failing panic
2021-02-24 21:54:27 +01:00
Stephan Dilly
4a0e671197 cleanup changelog 2021-02-24 11:40:28 +01:00
Stephan Dilly
bde8eb8a7b Revert "Support mouse scrolling (#306)"
This reverts commit 457f644f30.
2021-02-24 11:38:30 +01:00
Stephan Dilly
59acccc484 split up stuff into new remote mod 2021-02-24 11:32:38 +01:00
Stephan Dilly
a53ec16161
prefer 'origin' as default remote if it exists (#544)
closes #494
2021-02-24 11:04:01 +01:00
dependabot-preview[bot]
db52248782 Bump textwrap from 0.13.3 to 0.13.4
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.13.3...0.13.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-24 10:50:24 +01:00
Stephan Dilly
8b449f5d9e clear commit msg after doing a commit 2021-02-24 10:21:10 +01:00
Stephan Dilly
1b8b58a31c
fix missing paging support in branch list (#539)
closes #519
2021-02-23 19:07:01 +01:00
Stephan Dilly
e3bb51b277 show branchname in commit mssage box (closes #529) 2021-02-23 16:50:36 +01:00
Stephan Dilly
5cf9986df9
actually commit the temp files for flaky/failing unittest (#535)
* actually commit the temp files (#534)
* make check for commit id more explicit
* fix last assert checking against wrong id
2021-02-23 15:04:40 +01:00
Stephan Dilly
5244751e9e
check if we can_push before trying (#533)
closes #531
2021-02-23 12:32:32 +01:00
dependabot-preview[bot]
cc9ecb34a2 Bump pprof from 0.4.0 to 0.4.2
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.4.0 to 0.4.2.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.4.0...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-23 12:25:25 +01:00
Stephan Dilly
5f9f87746e ignore flaky randomly failing test 2021-02-23 12:12:55 +01:00
dependabot-preview[bot]
0736daa645 Bump url from 2.2.0 to 2.2.1
Bumps [url](https://github.com/servo/rust-url) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-23 12:07:05 +01:00
Stephan Dilly
f556bb94e9 update changelog 2021-02-23 11:56:54 +01:00
Stephan Dilly
388a6e62fb keep uncommitted msg around.
when adding *amend* this got broken because in that case we want to clear out the msg when it was not confirmed
2021-02-23 11:54:53 +01:00
dependabot-preview[bot]
b552873d95 Bump textwrap from 0.13.2 to 0.13.3
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.13.2...0.13.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-23 11:53:31 +01:00
dependabot-preview[bot]
f536532394 Bump thiserror from 1.0.23 to 1.0.24
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.23 to 1.0.24.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.23...1.0.24)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-23 11:34:16 +01:00
Stephan Dilly
318498c8ee more clippy fixes 2021-02-23 11:33:24 +01:00
Stephan Dilly
a11da53bda update changelog 2021-02-23 11:12:55 +01:00
Richard Menzies
457f644f30
Support mouse scrolling (#306)
Linked to #226
2021-02-23 11:03:50 +01:00
Richard Menzies
6c974ee1d3
Support force push (#421) 2021-02-23 11:02:16 +01:00
Richard Menzies
301a3a1b87
Fix build (#525) 2021-02-23 10:59:10 +01:00
remique
b5411e28a5
Set MacOS config directory to ~/.config (#379) 2021-02-16 22:52:32 +01:00
Stephan Dilly
be3a33e862 fix formating for rust 1.50 2021-02-11 17:56:04 +01:00
Richard Menzies
a2a6754990 Change test_invisable_newline to test_invisible_newline 2021-02-09 09:31:48 +01:00
Richard Menzies
d39c282be7 Run cargo update, fix cargo audit 2021-02-09 09:31:13 +01:00
Christoph Rüßler
fe0c2f558c
Use get_entry instead of get_str (#269) 2021-02-04 19:22:08 +01:00
David Karrick
530e077fe7
Allow user to set theme with flag (#481)
closes #480
2021-01-27 22:24:27 +01:00
dependabot-preview[bot]
ffdee44105 Bump log from 0.4.13 to 0.4.14
Bumps [log](https://github.com/rust-lang/log) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.13...0.4.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27 21:59:15 +01:00
dependabot-preview[bot]
832712e889 Bump git2 from 0.13.15 to 0.13.17
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.15 to 0.13.17.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.15...0.13.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27 21:50:29 +01:00
dependabot-preview[bot]
325d74204a Bump anyhow from 1.0.37 to 1.0.38
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.37...1.0.38)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:01:30 +01:00
dependabot-preview[bot]
0cbfa13ba5 Bump tempfile from 3.1.0 to 3.2.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:01:14 +01:00
dependabot-preview[bot]
5a300caa38 Bump log from 0.4.11 to 0.4.13
Bumps [log](https://github.com/rust-lang/log) from 0.4.11 to 0.4.13.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.11...0.4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:00:56 +01:00
dependabot-preview[bot]
916010d52e Bump serde from 1.0.120 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.120 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:00:41 +01:00
Stephan Dilly
a3f6d84353
Update stale.yml 2021-01-24 16:16:00 +01:00
dependabot-preview[bot]
5d6a91e03c Bump serde from 1.0.118 to 1.0.120
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.120)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 09:25:24 +01:00
dependabot-preview[bot]
56b76c1e7d Bump backtrace from 0.3.55 to 0.3.56
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.55 to 0.3.56.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.55...0.3.56)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 09:15:21 +01:00
Stephan Dilly
02990204e1 fix crash when no remote called 'origin' present (#486) 2021-01-12 16:17:14 +01:00
Stephan Dilly
c0f9d3e93e roadmap to 1.0 2021-01-11 17:26:18 +01:00
dependabot-preview[bot]
2481be7a87 Bump tui from 0.13.0 to 0.14.0
Bumps [tui](https://github.com/fdehau/tui-rs) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/fdehau/tui-rs/releases)
- [Changelog](https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fdehau/tui-rs/compare/v0.13.0...v0.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 12:44:27 +01:00
dependabot-preview[bot]
cd4ed7705c Bump textwrap from 0.13.1 to 0.13.2
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.13.1...0.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 11:57:08 +01:00
dependabot-preview[bot]
441ca7b3b2 Bump pprof from 0.3.21 to 0.4.0
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.3.21 to 0.4.0.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.3.21...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 11:56:18 +01:00
Stephan Dilly
b63063271d cleanup nightly clippy warnings 2021-01-08 11:55:50 +01:00
dependabot-preview[bot]
46de25546d Bump crossterm from 0.18.2 to 0.19.0
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.18.2 to 0.19.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:06:07 +01:00
dependabot-preview[bot]
a99b74a748 Bump itertools from 0.9.0 to 0.10.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bluss/rust-itertools/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 17:49:44 +01:00
dependabot-preview[bot]
78e2759f80 Bump anyhow from 1.0.36 to 1.0.37
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.36...1.0.37)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 17:48:53 +01:00
dependabot-preview[bot]
767da9e976 Bump git2 from 0.13.14 to 0.13.15
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.14 to 0.13.15.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.14...0.13.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 17:48:36 +01:00
dependabot-preview[bot]
3a0213c49f Bump pprof from 0.3.20 to 0.3.21
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.3.20 to 0.3.21.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.3.20...v0.3.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 17:48:03 +01:00
dependabot-preview[bot]
a86c526662 Bump thiserror from 1.0.22 to 1.0.23
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.22 to 1.0.23.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.22...1.0.23)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 17:47:47 +01:00
dependabot-preview[bot]
5d3eec7335 Bump git2 from 0.13.12 to 0.13.14
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.12 to 0.13.14.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.12...0.13.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-27 14:38:44 +01:00
ImgBotApp
a3faf4aced [ImgBot] Optimize images
/assets/char_count.gif -- 1,723.06kb -> 131.14kb (92.39%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-12-27 14:21:33 +01:00
Stephan Dilly
cd1484f459 updated changelog 2020-12-27 14:15:46 +01:00
Stephan Dilly
c428db09f6 support showing char count (closes #466) 2020-12-27 14:11:19 +01:00
Stephan Dilly
c0d0e31186 more comment 2020-12-26 11:34:30 +01:00
Stephan Dilly
f927c609d4 fix help text 2020-12-26 11:34:25 +01:00
Stephan Dilly
24758d494d single lookup place for key symbols in preperation for #465 2020-12-26 11:32:10 +01:00
dependabot-preview[bot]
995ae928ac Bump simplelog from 0.8.0 to 0.9.0
Bumps [simplelog](https://github.com/drakulix/simplelog.rs) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/drakulix/simplelog.rs/releases)
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/drakulix/simplelog.rs/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-25 12:42:14 +01:00
Stephan Dilly
5080b822f1
Freebsd fix compilation (#462) 2020-12-22 15:52:33 +01:00
Stephan Dilly
c19567e59b fix rust_analyzer choking on local use 2020-12-22 13:17:10 +01:00
Stephan Dilly
6fcbb99faf fix clippy on nightly 2020-12-22 10:17:14 +01:00
dependabot-preview[bot]
5cf8547c47 Bump anyhow from 1.0.35 to 1.0.36
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.35...1.0.36)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 13:29:30 +01:00
dependabot-preview[bot]
e6e69855c5 Bump ron from 0.6.3 to 0.6.4
Bumps [ron](https://github.com/ron-rs/ron) from 0.6.3 to 0.6.4.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 12:52:18 +01:00
Stephan Dilly
2600cce4cd fix msi install creation 2020-12-20 18:50:09 +01:00
Stephan Dilly
e27fc43c2b little better structure 2020-12-20 17:13:53 +01:00
Stephan Dilly
79939115af
Fix style (#454) 2020-12-20 17:07:32 +01:00
Stephan Dilly
196fe4ab43 version bumps 2020-12-20 16:56:01 +01:00
Stephan Dilly
2b7d7f467b
Set tracking branch on push (#452)
set upstream on each push (if not already defined). closes #275
2020-12-20 16:48:47 +01:00
Stephan Dilly
44ba5a83c9
show branch ahead/behind only if upstream is set (#451)
closes #385
2020-12-20 16:01:04 +01:00
Stephan Dilly
779b2d572f fix clippy and unittest 2020-12-19 21:45:09 +01:00
Stephan Dilly
3ff77e0669 fix whitespace not showing cursor in text input (closes #247) 2020-12-19 21:25:37 +01:00
Stephan Dilly
fb17cbd67b remove dev container support again 2020-12-19 20:51:49 +01:00
Stephan Dilly
23ffeb8bea fix multiline textinput drawing (closes #405) 2020-12-19 19:40:15 +01:00
Stephan Dilly
cfedbd1b36 fixes #448
* annotate a change in the keybindings more explicitly
* log error reading key bindings into log
2020-12-19 17:01:12 +01:00
dependabot-preview[bot]
307a83ba48 Bump pprof from 0.3.18 to 0.3.20
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.3.18 to 0.3.20.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.3.18...v0.3.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-19 16:43:24 +01:00
Stephan Dilly
6f3fef1918 update changelog 2020-12-19 16:39:30 +01:00
Antonio Yang
eb3d6c9b0f update command list of revlog 2020-12-19 16:27:26 +01:00
Antonio Yang
3101f7b104 copy commit hash 2020-12-19 16:27:26 +01:00
dependabot-preview[bot]
587acf219e Bump ron from 0.6.2 to 0.6.3
Bumps [ron](https://github.com/ron-rs/ron) from 0.6.2 to 0.6.3.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-18 08:15:27 +01:00
Stephan Dilly
b7caf1cac7 improve runtime in debug builds significantly (closes #445) 2020-12-12 14:12:12 +01:00
dependabot-preview[bot]
74aeed8544 Bump textwrap from 0.13.0 to 0.13.1
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.13.0...0.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-11 09:04:18 +01:00
Stephan Dilly
156776ab68 more clear error msg which env variables are checked for external editor (#426) 2020-12-11 08:57:31 +01:00
Stephan Dilly
183f4e85d0 cargo upgrade 2020-12-08 23:39:30 +01:00
Stephan Dilly
c0b8c5a0a6 give file list more screenspace share compared to commit message (#436) 2020-12-08 02:06:28 +01:00
dependabot-preview[bot]
8bee1f57cc Bump serde from 1.0.117 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 02:05:02 +01:00
dependabot-preview[bot]
c34c72ffda Bump textwrap from 0.12.1 to 0.13.0
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.12.1 to 0.13.0.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.12.1...0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 01:49:04 +01:00
Richard Menzies
f3b7b0ffac Use theme for push gauge 2020-12-08 01:42:41 +01:00
Stephan Dilly
c37f229070 dependencies cleaned up 2020-12-08 01:31:06 +01:00
dependabot-preview[bot]
fe48c1d66b Bump tui from 0.12.0 to 0.13.0
Bumps [tui](https://github.com/fdehau/tui-rs) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/fdehau/tui-rs/releases)
- [Changelog](https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fdehau/tui-rs/compare/v0.12.0...v0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 01:28:15 +01:00
dependabot-preview[bot]
6966882032 Bump serial_test from 0.5.0 to 0.5.1
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 01:17:35 +01:00
dependabot-preview[bot]
fef9523045 Bump anyhow from 1.0.34 to 1.0.35
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.34...1.0.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 01:16:30 +01:00
dependabot-preview[bot]
87142a1c2a Bump url from 2.1.1 to 2.2.0
Bumps [url](https://github.com/servo/rust-url) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.1.1...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 01:15:07 +01:00
Stephan Dilly
337ebb6656 fix new https://rust-lang.github.io/rust-clippy/master/#unnecessary_wraps clippy warnigns in nightly 2020-12-08 00:59:14 +01:00
Stephan Dilly
7174817777 clippy nightly complaint 2020-12-08 00:51:41 +01:00
Stephan Dilly
e7976235c7 missing contributions in changelog 2020-12-08 00:35:37 +01:00
Stephan Dilly
9101570e6c clippy fix 2020-12-08 00:30:31 +01:00
Nils Andresen
f92363a0cf removed tab_toggle_reverse_windows
changed tab_toggle_reverse to include the SHIFT modifier, as crossterm
now (i.e. since https://github.com/crossterm-rs/crossterm/pull/490)
sends SHIFT modifier for linux, too.
2020-12-08 00:21:46 +01:00
dm9pZCAq
b769a83bbc README: add Gentoo instruction 2020-12-08 00:20:34 +01:00
pm100
a6bce24d72
fix core-editor ignored (#414) (#419) 2020-12-08 00:18:51 +01:00
pm100
7a6dc2b192
add vc runtime to wix / msi package (#431)
* fix hook panicking (#393)
* add vc merge module to msi
Co-authored-by: Stephan Dilly <dilly.stephan@gmail.com>
2020-12-08 00:03:27 +01:00
dependabot-preview[bot]
a1a3ff5525 Bump backtrace from 0.3.54 to 0.3.55
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.54 to 0.3.55.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.54...0.3.55)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 00:00:22 +01:00
Richard Menzies
ac2c0624db Change he and his to they and their 2020-11-14 01:11:23 +01:00
remique
2f3af71408
Add scrollbar in branchlist (#417)
* Add scrollbar in branchlist
* Change scrollbar symbol to DOUBLE_VERTICAL
2020-11-12 15:39:50 +01:00
Richard Menzies
8bf0d78b04 Cache ./cargo/bin 2020-11-08 00:19:15 +01:00
Richard Menzies
7351ab4a30
MacOS github CI workaround (#411) 2020-11-08 00:02:11 +01:00
Stephan Dilly
1f674ac2c3 actually cache target folder 2020-11-07 23:21:30 +01:00
Richard Menzies
638c12518e
Add cache to GithubActions (#410) 2020-11-07 21:39:57 +01:00
Stephan Dilly
a0ba3d461e remove duplicate clean 2020-11-07 21:37:35 +01:00
Richard Menzies
f74abfb685 Fix clippy error 2020-11-07 13:07:31 +01:00
dependabot-preview[bot]
a5a1663656 Bump thiserror from 1.0.21 to 1.0.22
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.21...1.0.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 09:02:10 +01:00
dependabot-preview[bot]
106555b359 Bump backtrace from 0.3.53 to 0.3.54
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.53 to 0.3.54.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.53...0.3.54)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:57:20 +01:00
dependabot-preview[bot]
34fc28b49f Bump anyhow from 1.0.33 to 1.0.34
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.33...1.0.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:56:43 +01:00
Stephan Dilly
88813381da indicate if branch has an upstream and some cleanup 2020-11-01 19:43:19 +01:00
Stephan Dilly
c4fdbf7aba make sync part of lib expect safe 2020-11-01 12:49:11 +01:00
Stephan Dilly
00073cbdd7 fix hook panicking (#393) 2020-11-01 12:46:59 +01:00
Stephan Dilly
6e6832da21 cleanup one more expect 2020-11-01 12:37:07 +01:00
Stephan Dilly
2dab9de273 cleanup some more expects 2020-11-01 12:16:40 +01:00
Stephan Dilly
33de4f3f77 fix warnings 2020-11-01 11:39:55 +01:00
Stephan Dilly
632f255548 cleanup some more expects 2020-11-01 02:11:55 +01:00
Denis Maximov
cad40d17ee
feat: xclip fallback for linux with xsel #352 (#390)
closes #352
2020-11-01 01:22:03 +01:00
pm100
99c3277e94
adding pre-commit hook (#386)
see #313
2020-11-01 01:06:48 +01:00
Richard Menzies
bbc0488d22
Fix select branch list scrolling (#380)
Closes #368
2020-10-31 12:44:51 +01:00
dependabot-preview[bot]
7ba62b82df Bump crossterm from 0.18.1 to 0.18.2
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.18.1 to 0.18.2.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 12:39:52 +01:00
Stephan Dilly
bd00b3e4b8 fix scrollbar (#350) 2020-10-31 12:32:20 +01:00
Stephan Dilly
7e6e310ab8 update changelog 2020-10-31 12:29:29 +01:00
Florian Wilkens
21b7513f48
Remove ui::style::ColorDef in favor up tui::style::Color (#391)
Closes #149.
2020-10-31 12:26:30 +01:00
pm100
d0f59fa0bf
Windows MSI - add display of file size (#373) 2020-10-28 00:14:50 +01:00
Stephan Dilly
6df98ada7f cleanup 2020-10-28 00:07:33 +01:00
Arnaud Locquet
603fd75703 fix: panic on small terminal when textinput for stash name is open 2020-10-28 00:02:30 +01:00
Arnaud Locquet
a75f43de77 feat: password obfuscation 2020-10-27 11:39:32 +01:00
remique
35f3a25cba
Add branch name in Status and ChangesComponent cleanup (#375) 2020-10-26 16:21:26 +01:00
dependabot-preview[bot]
7596422da4 Bump crossterm from 0.18.0 to 0.18.1
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 09:46:12 +01:00
Stephan Dilly
321735a833
ci-test-msi (#372) 2020-10-26 02:11:37 +01:00
Stephan Dilly
03674f562f update changelog 2020-10-26 01:20:43 +01:00
pm100
a4d741723c
windows msi installer using wix (#360) 2020-10-26 01:18:04 +01:00
Stephan Dilly
0f5b8a0909 use anyhow::bail 2020-10-25 23:57:26 +01:00
Stephan Dilly
3b44ac5b06
fix branch list and cmd bar panicing on small terminal sizes (#369)
fix branch list and cmd bar panicing on small terminal sizes (closes #363)
2020-10-25 23:48:50 +01:00
Stephan Dilly
42d4609c41 update to dirs-next and remove migration code 2020-10-25 18:28:52 +01:00
Stephan Dilly
4ee4432f16
visualize outgoing/incoming changes (#364) 2020-10-25 17:35:54 +01:00
Stephan Dilly
a2b26c30dc little cleanups 2020-10-25 15:43:13 +01:00
Arnaud
9439114e5f
feat: support https push (#353) 2020-10-25 10:50:20 +01:00
dependabot-preview[bot]
acccbfa08a Bump rayon-core from 1.8.1 to 1.9.0
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.1...rayon-core-v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 02:01:01 +02:00
Arnaud Locquet
f665d69d0e feat: dynamic branch popup size 2020-10-21 01:25:13 +02:00
Stephan Dilly
b21fad79c5 update changelog/readme 2020-10-18 19:03:11 +02:00
Richard Menzies
71880f96f7
Rename branch (#334) 2020-10-17 09:00:34 +02:00
Arnaud
9297915ddd
feat: add branch selection popup in the log view (#349) 2020-10-16 18:21:24 +02:00
Stephan Dilly
33387b8a3a update readme 2020-10-16 09:58:13 +02:00
ImgBotApp
cb8c3f2c27 [ImgBot] Optimize images
/assets/branches.gif -- 1,657.98kb -> 147.48kb (91.1%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-10-16 09:45:48 +02:00
Stephan Dilly
e50a9a345d gif of branches popup 2020-10-16 09:23:35 +02:00
Arnaud Locquet
a55977874f fix: gauge style 2020-10-16 08:42:12 +02:00
dependabot-preview[bot]
3e02bc65ca Bump serde from 1.0.116 to 1.0.117
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.116...v1.0.117)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 08:40:09 +02:00
dependabot-preview[bot]
647943bd85 Bump git2 from 0.13.11 to 0.13.12
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.11 to 0.13.12.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.11...0.13.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 23:52:15 +02:00
Richard Menzies
1a7a6410b6
Fix crash on small terminal size when branch list is open (#338)
* Fix crash on small terminal size
* Use const varibles for numbers
2020-10-14 23:51:26 +02:00
dependabot-preview[bot]
a250e01de2 Bump backtrace from 0.3.52 to 0.3.53
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.52 to 0.3.53.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.52...0.3.53)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 09:11:45 +02:00
dependabot-preview[bot]
5fb144a354 Bump crossbeam-channel from 0.4.4 to 0.5.0
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.4.4 to 0.5.0.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.4.4...crossbeam-channel-0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 09:00:53 +02:00
Stephan Dilly
73d55ab209 mention choco package in readme (windows) 2020-10-11 17:14:02 +02:00
Stephan Dilly
262b153cf0 fix another clippy warning 2020-10-11 17:03:53 +02:00
Stephan Dilly
2df0a8957b clippy fixes 2020-10-11 16:06:44 +02:00
Stephan Dilly
0d2067fd13 changelog update 2020-10-11 14:36:56 +02:00
Stephan Dilly
bb1abb22c0 cleanup 2020-10-11 14:36:08 +02:00
Richard Menzies
b6c932d0af
Delete branch (#332) 2020-10-11 14:30:44 +02:00
Stephan Dilly
1f55c18945 add unittests for checkout 2020-10-11 13:22:45 +02:00
Stephan Dilly
7e33047232 more idiomatic way 2020-10-11 13:22:45 +02:00
Stephan Dilly
5966c05690 add unittests for get_branches_to_display 2020-10-11 13:22:45 +02:00
Stephan Dilly
aae3d2c611 better place for push cmd 2020-10-11 01:00:31 +02:00
Stephan Dilly
23ccee002b do not show push cmd in wrong tabs 2020-10-11 00:56:31 +02:00
Richard Menzies
1cc1884162 Move open_select_branch_popup location 2020-10-11 00:52:09 +02:00
Stephan Dilly
0b97c545ed
cleanup clipboard and add to changelog (#325) 2020-10-11 00:23:20 +02:00
Richard Menzies
62573b9d7a Fix WizardOhio24 link in changelog 2020-10-10 23:54:22 +02:00
Christoph Rüßler
04bd45e641 Use helper binary for clipboard access (#262)
Use `clip` on Windows, `pbcopy` on MacOX, `xclip` on Linux.

- Remove dependency on `clipboard`
- Remove feature `clipboard`
2020-10-10 23:31:40 +02:00
Andy
ea8b32d623 Readme inspiration list: git-brunch 2020-10-10 15:26:23 +02:00
Stephan Dilly
b5544af488 unpin git2-rs version now that there was a release 2020-10-10 01:56:39 +02:00
Stephan Dilly
06aeca59d2
Branchlist fixes (#320)
* changelog and some cleanup
2020-10-10 01:43:57 +02:00
Richard Menzies
94bbf3c9fb
Branch popup (#303)
closes #91
2020-10-10 01:27:13 +02:00
Stephan Dilly
92b1b4c2a8 dont allow unused imports 2020-10-09 15:31:51 +02:00
dependabot-preview[bot]
1d10dec721 Bump backtrace from 0.3.51 to 0.3.52
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.51 to 0.3.52.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.51...0.3.52)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 08:28:57 +02:00
Stephan Dilly
027052ad2f update changelog 2020-10-08 15:15:43 +02:00
Antonio Yang
9e836b5ab9 Fix vim style key bind example 2020-10-08 15:13:03 +02:00
dependabot-preview[bot]
26ce124ed9 Bump crossterm from 0.17.7 to 0.18.0
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.17.7 to 0.18.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.17.7...0.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-08 12:51:31 +02:00
Richard Menzies
93168639fe
Bump tui: 0.9 -> 0.12 (#289) 2020-10-08 09:56:36 +02:00
dependabot-preview[bot]
8b903ac4a7 Bump thiserror from 1.0.20 to 1.0.21
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.20...1.0.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 09:39:52 +02:00
dependabot-preview[bot]
e34e783bb2 Bump anyhow from 1.0.32 to 1.0.33
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.32...1.0.33)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 09:39:36 +02:00
Stephan Dilly
dd41e08748 changelog update 2020-10-07 09:39:11 +02:00
Timur Aliberdov
7dc72380ce Draw scrollbar for long commit messages 2020-10-07 09:36:55 +02:00
Stephan Dilly
32f9a3a4df fix crash on small terminals (closes #307) 2020-10-05 21:10:37 +02:00
Eduardo Flores
2434af55bd Handled crash when git2 failed to obtain username from URL
Fixed formatting errors
2020-10-05 10:05:17 +02:00
dependabot-preview[bot]
3621721b41 Bump chrono from 0.4.18 to 0.4.19
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.18 to 0.4.19.
- [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.18...v0.4.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 11:15:49 +02:00
dependabot-preview[bot]
35f932c87b Bump backtrace from 0.3.50 to 0.3.51
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.50 to 0.3.51.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.50...0.3.51)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-30 09:56:27 +02:00
Richard Menzies
c887b8597c
Fix scrolling in filetrees (#296)
* Add selection offset considering non-visible items to scroll_top
* Add test for filetree scrolling
* Fix scroll test
* Fix scroll when multiple folders folded onto one line are folded up
* Add test for not visible folded up folder scrolling correctly
2020-09-29 20:13:09 +02:00
dependabot-preview[bot]
83fd4f0886 Bump chrono from 0.4.15 to 0.4.18
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.15 to 0.4.18.
- [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.15...v0.4.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:25:15 +02:00
Richard Menzies
ecf425d6e5
Fix left key in tree broken (#294) 2020-09-28 09:54:15 +02:00
ImgBotApp
21645824b8 [ImgBot] Optimize images
/assets/compact-tree.png -- 75.80kb -> 38.19kb (49.62%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-27 19:12:09 +02:00
Stephan Dilly
4b56a636ff fix crash interfering of other git processes (closes #271) 2020-09-27 19:11:03 +02:00
Stephan Dilly
a991810f01 fix nightly build 2020-09-27 18:56:20 +02:00
Stephan Dilly
17240e47fc update changelog 2020-09-27 18:42:44 +02:00
Richard Menzies
adb6025c51
Fold folders up into parent if alone in directory (#288) 2020-09-27 18:37:40 +02:00
Stephan Dilly
59c6626125 cleanup 2020-09-19 11:04:05 +00:00
Stephan Dilly
4b10b154b3 try fixing ra 2020-09-19 12:36:53 +02:00
dependabot-preview[bot]
bf32ae3cf0 Bump rayon-core from 1.8.0 to 1.8.1
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-19 12:15:43 +02:00
Stephan Dilly
e935bc6642 test dev containers 2020-09-19 11:53:35 +02:00
Ciarán Mooney
04a96ddb6e Additional Unit Tests for TextInput Component #264 2020-09-19 11:42:29 +02:00
Stephan Dilly
704fb85fa1 add windows scoop recipe to readme (#164) 2020-09-15 08:34:43 +02:00
dependabot-preview[bot]
43e45c177c Bump serde from 1.0.115 to 1.0.116
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.115...v1.0.116)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 09:24:27 +02:00
gittaca
9e094cdb37 Correct branching issue # 2020-09-12 17:27:23 +02:00
dependabot-preview[bot]
1f40baa711 Bump ron from 0.6.1 to 0.6.2
Bumps [ron](https://github.com/ron-rs/ron) from 0.6.1 to 0.6.2.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-10 09:27:31 +02:00
Stephan Dilly
7c68a0ff23 todo 2020-09-07 22:57:06 +02:00
Stephan Dilly
a8eb68357b more logging 2020-09-07 22:15:26 +02:00
Stephan Dilly
d9e20c802d support more remote callbacks 2020-09-07 22:08:36 +02:00
Stephan Dilly
4e0ca3259e fix unittests 2020-09-07 21:44:42 +02:00
Stephan Dilly
ad7490c4fe more logging 2020-09-07 21:44:42 +02:00
Stephan Dilly
26565e9021 test fetch 2020-09-07 21:44:42 +02:00
dependabot-preview[bot]
0bf9269327 Bump crossbeam-channel from 0.4.3 to 0.4.4
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.4.3...crossbeam-channel-0.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 08:49:22 +02:00
ImgBotApp
85ce2eacd5 [ImgBot] Optimize images
/assets/push.gif -- 281.71kb -> 50.29kb (82.15%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-06 17:59:57 +02:00
Stephan Dilly
de80601bf4
Push progress
closes #267
2020-09-06 17:48:14 +02:00
Stephan Dilly
17de5a900c
Test push progress (#272) 2020-09-04 09:08:29 +02:00
Stephan Dilly
56959e6596 do not highlight selection in diff when not focused (closes #270) 2020-09-02 11:11:17 +02:00
Stephan Dilly
d179b6bb8b changelog 2020-09-02 02:16:27 +02:00
Stephan Dilly
7d1e3643b1
support push to origin (#266)
* use  vendored ssl
2020-09-02 02:08:41 +02:00
Stephan Dilly
08f6735d99 remove unneded linux build deps 2020-09-01 01:49:19 +02:00
Stephan Dilly
e5c38e8d4a
revert clipboard feature on linux to fix static linux binary build (#261) 2020-09-01 01:36:38 +02:00
Stephan Dilly
9be119a2f0 reorder 2020-08-30 12:09:06 +02:00
Stephan Dilly
8f44c12b64 fix pre-release flag 2020-08-29 19:05:07 +02:00
Stephan Dilly
d0ac0a3063 fix missing changes to CD pipeline for clipboard stuff 2020-08-29 18:55:14 +02:00
Stephan Dilly
a12692a045 support pre-releses 2020-08-29 18:50:19 +02:00
Stephan Dilly
ca49bbd627
release 0.10 (#252) 2020-08-29 14:20:19 +02:00
Stephan Dilly
4907e8b727
new 'create branch' popup (#254)
closes #253
2020-08-29 14:15:06 +02:00
Stephan Dilly
7da34eb3e4 switch more missing places to use new keyconfig 2020-08-29 12:43:32 +02:00
Stephan Dilly
19177ec9bb simplify key bindings further 2020-08-29 00:24:34 +02:00
Stephan Dilly
5445594018 fix amend due to blind clippy warning refactoring (closes #250) 2020-08-28 23:57:06 +02:00
Stephan Dilly
726928b7ba fix logging 2020-08-28 23:54:45 +02:00
Stephan Dilly
40e9194b5d fix wrong hunk highlighting after arrow-down at end of diff (closes #249) 2020-08-28 18:53:01 +02:00
Stephan Dilly
aa1bf4fded fix "add hunk" using "revert hunk" key in command bar 2020-08-28 18:43:13 +02:00
Stephan Dilly
425963ca58
Scrollbar in diff (#251)
closes #204
2020-08-28 18:19:44 +02:00
Stephan Dilly
2401293b66
Rust1.46 and nightly ci (#246) 2020-08-28 10:52:24 +02:00
Stephan Dilly
53f333f4ca isolate scrolllist widget further 2020-08-27 22:41:09 +02:00
Stephan Dilly
80da95b6f5 cleanup commit message line encodings to fix rendering commit msg (closes #245) 2020-08-27 01:10:38 +02:00
Stephan Dilly
0e9fdfcaa2 fix key config of resetting hunk (closes #244) 2020-08-27 00:03:57 +02:00
Stephan Dilly
59377c7a91 clippy fix and make perf warnings to errors 2020-08-26 19:18:57 +02:00
Stephan Dilly
1a5a121b33 small cleanups 2020-08-26 18:53:50 +02:00
Stephan Dilly
098873809f fix config paths (closes #243) and reword some docs 2020-08-26 18:37:13 +02:00
Stephan Dilly
55e83a58b9 update changelog 2020-08-26 18:32:01 +02:00
Antonio Yang
a95ffd7bcc
Customize key binds (#234)
* customizable key config
* provide example vim key config
* automatically show correct key binding in bottom cmd-bar
2020-08-26 18:23:53 +02:00
dependabot-preview[bot]
d8bd4721ef Bump rayon-core from 1.7.1 to 1.8.0
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.1...rayon-core-v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 00:31:45 +02:00
dependabot-preview[bot]
81f8777b1c Bump ron from 0.6.0 to 0.6.1
Bumps [ron](https://github.com/ron-rs/ron) from 0.6.0 to 0.6.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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 00:09:41 +02:00
dependabot-preview[bot]
64eebb5aca Bump git2 from 0.13.8 to 0.13.10
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.8 to 0.13.10.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 00:09:23 +02:00
Stephan Dilly
91d7070f34 casing 2020-08-19 22:44:11 +02:00
Stephan Dilly
d2561d61ca added changelog 2020-08-19 21:47:34 +02:00
Christoph Rüßler
bc23270951
Add multiple selection in diff view (#231)
* Add multiple selection in diff view
* Copy selection to clipboard in diff view
* Show error message if copy to clipboard fails
- Draw `msg` after `inspect_commit_popup` to make sure the error message
  is visible
- Move `try_or_popup!` to `utils`
2020-08-19 21:02:19 +02:00
Stephan Dilly
c8ae3b8eae
Cleanup cd now that win builds again 2020-08-19 00:06:23 +02:00
Stephan Dilly
b8aba5bd5e
Cleanup ci now that win works again 2020-08-19 00:05:00 +02:00
Stephan Dilly
4f2e20ea1b changelog update 2020-08-18 21:48:59 +02:00
dr-BEat
ce8d79855d Fix Command::new behaviour on windows 2020-08-18 21:28:55 +02:00
Stephan Dilly
99dad5c8ef disable choco wsl installer again 2020-08-17 21:15:10 +02:00
Stephan Dilly
aed102ce8e disable fail fast 2020-08-17 21:02:11 +02:00
Stephan Dilly
2d3b4a08eb try with wsl install again 2020-08-17 20:59:57 +02:00
dependabot-preview[bot]
5e12608b65 Bump clap from 2.33.2 to 2.33.3
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.2 to 2.33.3.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 04:46:44 -07:00
dependabot-preview[bot]
16f302aaad Bump chrono from 0.4.13 to 0.4.15
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.13 to 0.4.15.
- [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.13...v0.4.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 04:46:20 -07:00
Stephan Dilly
08581263c2 try without wsl install 2020-08-13 01:47:43 +02:00
Stephan Dilly
3242f5f576 revert 2020-08-11 21:28:08 +02:00
Stephan Dilly
377dfd1a08 try wsl 2020-08-11 21:06:03 +02:00
dependabot-preview[bot]
6dd80f73ac Bump serde from 1.0.114 to 1.0.115
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.114 to 1.0.115.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.114...v1.0.115)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 19:22:35 +02:00
Stephan Dilly
613e697407 update changelog for #208 2020-08-09 09:14:10 +02:00
Christoph Rüßler
1a90fd365f Add scrolling to commit message in details
- Manually wrap commit message using `textwrap`

Closes #181
2020-08-08 19:42:02 +02:00
Stephan Dilly
0e81f062da fix slection error after deleting last element in stash (closes #223) 2020-08-08 09:24:23 +02:00
dependabot-preview[bot]
bb88c92a41 Bump pprof from 0.3.17 to 0.3.18
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.3.17...v0.3.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 10:29:35 +02:00
dependabot-preview[bot]
fdbbe89598 Bump clap from 2.33.1 to 2.33.2
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.1 to 2.33.2.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-06 10:10:09 +02:00
Stephan Dilly
8bcf73437a disable private tap for now 2020-07-30 01:10:26 +02:00
Stephan Dilly
53cd06a970 provide download url again 2020-07-30 01:02:15 +02:00
Stephan Dilly
85d7d7c7dc fix homebrew deploy 2020-07-30 00:50:18 +02:00
Stephan Dilly
fd6776cee7 try fixing CD 2020-07-30 00:41:06 +02:00
Stephan Dilly
1ac8ee6e4f fix CD on windows like done for CI previously 2020-07-29 23:00:10 +02:00
Stephan Dilly
ddd11156c6 prep release 2020-07-29 22:37:50 +02:00
Stephan Dilly
93b4b7ff39 updated changelog 2020-07-29 21:19:16 +02:00
Jon Grythe Stødle
1c3295affc Switch focus when working directory or stage becomes empty
If the focus is on the working directory and it becomes empty (no files are listed) by either staging the last file or using the _Stage all_ command, the focus will be moved to the stage automatically. It works the same for when the stage becomes empty, by moving the focus to the working directory.

If the focus is on the diff area, the focus will not be moved when either the working directory or the stage becomes empty.

Fixes #215
2020-07-29 21:16:50 +02:00
Jon Grythe Stødle
8db6325777 Add support for spaces in file path
If the file path contained a space, the editor would be launched with an incomplete file path.

This also switches to using `OsStr` for the file path, which means that if the file name contains invalid UTF-8, it will not blow up because of gitui.
2020-07-29 21:10:45 +02:00
Jon Grythe Stødle
6b4d088b28 Add config migration
With the upgrade to version 3 of `dirs`, the `config_dir` function returns a new path for macOS. This migrates the file present at the old location (now available through the `preferences_dir` function) to the new location.
2020-07-29 21:10:45 +02:00
Jon Grythe Stødle
b89ec94066 Bump dirs to version 3.0 2020-07-29 21:10:45 +02:00
dependabot-preview[bot]
079f0457e9 Bump anyhow from 1.0.31 to 1.0.32
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.31...1.0.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 10:25:10 +02:00
dependabot-preview[bot]
8e4db0b328 Bump crossbeam-channel from 0.4.2 to 0.4.3
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/v0.4.2...crossbeam-channel-0.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 21:31:10 +02:00
Stephan Dilly
f45af0e3cf fix multiple tags not being seperated in details view (fixes #212) 2020-07-22 10:37:47 +02:00
Stephan Dilly
f83228548b use new tag_foreach api 2020-07-22 01:54:22 +02:00
Stephan Dilly
0c53fed624 fix windows ci
all platforms again
2020-07-21 10:26:12 +02:00
Stephan Dilly
6c798df40a fix different way of internal git represenation of tags to work (closes #206) 2020-07-20 23:40:02 +02:00
Stephan Dilly
e7d17b2cf1 remove config migration code 2020-07-18 19:13:16 +02:00
Stephan Dilly
58a1719c98 fix problems with spawning too many async tasks underload (#196) 2020-07-18 13:57:08 +02:00
Stephan Dilly
7e8df3ad28 simplify pending state by using the new one 2020-07-18 13:35:24 +02:00
Stephan Dilly
03cf23ad98 visualize pending load on status file list (closes #160) 2020-07-18 12:44:23 +02:00
Stephan Dilly
9d4972b0b2 also drive unittests on make check 2020-07-18 12:22:17 +02:00
Stephan Dilly
a54fbf7f63 visualize pending load of a diff (#160) 2020-07-18 12:21:18 +02:00
Stephan Dilly
ed730c2fa1 comment 2020-07-18 11:59:30 +02:00
Stephan Dilly
c759bf7729 Merge branch 'master' of github.com:Extrawurst/gitui 2020-07-17 11:54:26 +02:00
Stephan Dilly
0dd50b402e upgrade to rust 1.45 and fix new clippy warnings 2020-07-17 11:54:12 +02:00
dependabot-preview[bot]
21946ac80c Bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 11:25:43 +02:00
ImgBotApp
b82d7af173 [ImgBot] Optimize images
/assets/tagging.gif -- 586.36kb -> 256.97kb (56.17%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-07-15 23:38:04 +02:00
Stephan Dilly
ef7c4a32e1 changelog updat 2020-07-15 23:35:14 +02:00
Christoph Rüßler
70423c5b83 Add command for tagging commit 2020-07-15 23:22:03 +02:00
Stephan Dilly
aa068f8004 update 2020-07-15 13:03:05 +02:00
Stephan Dilly
002a3a8f6f fix writing out of bounds (fixes #198) 2020-07-15 01:14:55 +02:00
dependabot-preview[bot]
6e1fc58406 Bump crossterm from 0.17.6 to 0.17.7
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.17.6 to 0.17.7.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 11:01:51 +02:00
Stephan Dilly
18f3bd981d min rect size for commit popup (fixes #179) 2020-07-14 09:42:55 +02:00
Stephan Dilly
dc5911de20 dont send noop GitNotification into app 2020-07-12 14:45:12 +02:00
Stephan Dilly
1afa91b144 show tags in commit details popup (closes #193) 2020-07-12 14:38:38 +02:00
Stephan Dilly
f4e2b7c6c0 update changes title right away 2020-07-12 14:38:18 +02:00
Stephan Dilly
315cf615e0
Async tag fetching (#195) 2020-07-12 13:21:34 +02:00
Stephan Dilly
a84ae0950c add_to_ignore failed on files without a newline at EOF (closes #191) 2020-07-10 11:25:00 +02:00
ImgBotApp
658bb72d59 [ImgBot] Optimize images
*Total -- 6,791.98kb -> 3,275.88kb (51.77%)

/assets/newlines.gif -- 100.34kb -> 6.63kb (93.39%)
/assets/vi_support.gif -- 685.20kb -> 134.60kb (80.36%)
/assets/spinner.gif -- 267.20kb -> 60.63kb (77.31%)
/assets/cmdbar.gif -- 278.36kb -> 121.63kb (56.31%)
/assets/screenshots/s02-revert.png -- 944.00kb -> 420.81kb (55.42%)
/assets/binary_diff.png -- 63.88kb -> 31.17kb (51.2%)
/assets/screenshots/s03-commit.png -- 1,001.72kb -> 491.67kb (50.92%)
/assets/screenshots/s00-diff.png -- 1,034.90kb -> 510.97kb (50.63%)
/assets/light-theme.png -- 756.01kb -> 417.72kb (44.75%)
/assets/screenshots/s01-log.png -- 1,571.65kb -> 999.73kb (36.39%)
/assets/logo.png -- 25.07kb -> 18.21kb (27.36%)
/assets/perf_compare.jpg -- 63.63kb -> 62.10kb (2.4%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-07-10 09:18:24 +02:00
Stephan Dilly
cbd75110b7 add error handling on potential error in ignore (#191) 2020-07-10 09:08:36 +02:00
Stephan Dilly
fc142b4604 fix crashes in revlog with utf8 commit messages (closes #188) 2020-07-10 08:55:43 +02:00
Stephan Dilly
4f731f6acc fix opening relative paths in external edtiro (closes #184) 2020-07-09 17:47:38 +02:00
Stephan Dilly
49d99c502c pprof update (fixes #172) 2020-07-09 09:25:04 +02:00
Stephan Dilly
0f13ecc54e inline 2020-07-09 09:20:59 +02:00
Stephan Dilly
cb3b968e3a fix cutting commit msg in between utf8 clusters (#188) 2020-07-09 08:51:31 +02:00
Stephan Dilly
7995519383 cargo update 2020-07-08 20:25:29 +02:00
dependabot-preview[bot]
d559a531b9 Bump backtrace from 0.3.49 to 0.3.50
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.49 to 0.3.50.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.49...0.3.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 20:17:37 +02:00
Stephan Dilly
0d09071c0a cleanup 2020-07-08 20:05:28 +02:00
Stephan Dilly
540997c177 error if file to be opened in external editor will not be found (#184) 2020-07-08 19:47:25 +02:00
Stephan Dilly
abe3b48d47 add twitter badge 2020-07-08 18:52:12 +02:00
Stephan Dilly
535b0cd103 little more documentation 2020-07-08 00:00:17 +02:00
Stephan Dilly
083e06c57c fix: in revlog dont allow arrow-right when commit-details not open 2020-07-07 13:26:08 +02:00
Stephan Dilly
23fc0d9e59 pre release 2020-07-07 13:05:09 +02:00
Stephan Dilly
a11713ee18 docs 2020-07-07 13:02:41 +02:00
Stephan Dilly
1cd74ad02e fix messing up users terminal after opening file in vi (related to #173) 2020-07-07 12:53:17 +02:00
Stephan Dilly
0fd8a0e7e0 update changes 2020-07-07 12:50:00 +02:00
Jon Grythe Stødle
52f31adb98 Add command to edit selected file in editor
Pressing `e` while looking at a file in the _Status_ view will launch an external editor with the current file opened. The editor chosen is determined by the default logic introduced in #114.

An improvement to this in the future could be launching at the specific line at which the _Diff_ view is focused, but that seems to require a change in `FileDiff` which is a change bigger than this PR.

Fixes #166
2020-07-07 12:42:01 +02:00
Stephan Dilly
b9ec27d89c fix newline visualization in commit msg editor (closes #169) 2020-07-07 12:33:32 +02:00
Stephan Dilly
26f734c57d fixed bin file size diff on untracked files (closes #171) 2020-07-07 09:42:34 +02:00
Stephan Dilly
02bd22d3b3 fix crash diffing stash created on cmd line (closes #178) 2020-07-07 09:10:10 +02:00
Stephan Dilly
59d93d7c23 cargo update 2020-07-06 21:18:37 +02:00
Stephan Dilly
8c5b2b3774 switch deprecated transitive dependency net2->socket2 - crossterm update (closes #66) 2020-07-06 21:18:14 +02:00
Stephan Dilly
e4e61d87f6 fix symbolic link 2020-07-06 20:01:15 +02:00
Stephan Dilly
dd31496da9 new version of invalidstring containing the LICENSE 2020-07-06 19:55:15 +02:00
Stephan Dilly
5c33e97a69 add missing license file 2020-07-06 19:46:08 +02:00
Stephan Dilly
0856a0914b cargo update 2020-07-06 09:16:13 +02:00
dependabot-preview[bot]
2719694b8e Bump chrono from 0.4.11 to 0.4.12
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.11...v0.4.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 08:51:44 +02:00
Stephan Dilly
2c53c09487 make release 2020-07-06 08:35:05 +02:00
Stephan Dilly
4351b891a9 missing changelog entry 2020-07-04 23:07:39 +02:00
Stephan Dilly
05c2e2ab49 prepare for release 2020-07-04 20:35:55 +02:00
Stephan Dilly
de7f48f88e show placeholder popup when waiting for external editor #157 2020-07-04 20:22:55 +02:00
Stephan Dilly
7016f17a34 typo 2020-07-04 18:18:38 +02:00
Stephan Dilly
a33db8d3de cache branchname lookup (closes #159) 2020-07-04 18:12:54 +02:00
Stephan Dilly
715c1794d6 fix clippy for when pprof is off 2020-07-04 16:54:30 +02:00
Stephan Dilly
8f1a1a008a fix windows pprof build 2020-07-04 16:24:51 +02:00
Stephan Dilly
972f071fe4 visuals in changelog 2020-07-04 16:07:32 +02:00
Stephan Dilly
e63ae022f6 dont use pprof on windows 2020-07-04 15:59:32 +02:00
Stephan Dilly
23d61b4ab2 fix link for CI 2020-07-04 15:47:06 +02:00
Stephan Dilly
bfda870933 fix panic when cursor is OOB after closing editor with shorter msg 2020-07-04 15:44:24 +02:00
Stephan Dilly
756c124b68 hide cursor again after external editor closes (fixes #168) 2020-07-04 15:40:52 +02:00
Stephan Dilly
313f5586b0 todo 2020-07-04 15:38:46 +02:00
Stephan Dilly
60759d7bec open external editor from commit popup
this puts all commit logic into one 'view' and allows editing amend commit messages in the external editor aswell.
2020-07-04 15:36:12 +02:00
Stephan Dilly
0a24c2c9b0 add profiling feature 2020-07-04 14:59:30 +02:00
Stephan Dilly
b782472a63 more fancy spinner, cleanup tabs 2020-07-04 12:55:40 +02:00
Stephan Dilly
a34bab22fa show untracked files in stash commit details (closes #130) 2020-07-02 12:55:17 +02:00
Stephan Dilly
e803cb3afe unneeded clones 2020-07-02 12:24:02 +02:00
Mehran Kordi
ea244b8cfa fixed issue with utracked files. 2020-07-02 11:58:11 +02:00
dependabot-preview[bot]
dd459ecb8a Bump unicode-width from 0.1.7 to 0.1.8
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/commits/v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 01:03:56 +02:00
Dario Vladovic
0e3dfa4c42 Add CD action to update Homebrew formula 2020-06-30 18:03:36 +02:00
Stephan Dilly
c97335435a cleanup 2020-06-30 09:51:05 +02:00
Stephan Dilly
b5fd133b04 update changelog (#144) 2020-06-30 09:49:43 +02:00
Stephan Dilly
c784c9e9b3 safety first 2020-06-30 09:49:27 +02:00
Agung Baptiso Sorlawan
3ec47ced67
Fix scrolling issues in staged/unstaged section (fixes #144) (#162) 2020-06-30 09:45:18 +02:00
Stephan Dilly
923bed9abf use condvar/mutex to not busywait when suspending input polling (closes #153) 2020-06-30 09:33:22 +02:00
Stephan Dilly
a4de701415 move input into app so start/stop polling is less awkward 2020-06-29 20:00:47 +02:00
Stephan Dilly
fb6cdb92ea fix whitespace at commit-msg start breaking revlog alignment (closes #158) 2020-06-29 19:48:39 +02:00
Stephan Dilly
b54e90a0de simplify spinner and mainloop to reduce log noise (#156) 2020-06-29 18:29:37 +02:00
Stephan Dilly
51d17b2596 prevent stacking up more and more status requests (#156) 2020-06-29 17:53:01 +02:00
Stephan Dilly
18c4d872d3 more debug logging 2020-06-29 16:03:35 +02:00
Stephan Dilly
4f45be0924 better naming 2020-06-29 16:00:21 +02:00
Stephan
738cf3fab4 try speeding up status (see #156) 2020-06-29 14:11:23 +02:00
Stephan
4a442f3829 cleanup use 2020-06-29 12:30:10 +02:00
Stephan
ce4f3af767 leave alternate screen when going into external editor (fixes #152) 2020-06-29 10:27:16 +02:00
Stephan Dilly
80f98d6b6d move commit into its own mod
# Conflicts:
#	asyncgit/src/sync/utils.rs
2020-06-29 09:47:54 +02:00
Stephan Dilly
c856c23aef remove outdated commit method 2020-06-29 09:46:38 +02:00
Stephan Dilly
6630b7c89c added new external editor feature in changes (closes #46) 2020-06-26 01:07:16 +02:00
Jon Grythe Stødle
477fdd303d Add support for external editor
Adds support for editing commit messages in an external editor. It read the GIT_EDITOR, VISUAL, EDITOR environment variables in turn (in the same order git does natively) and tries to launch the specified editor. If no editor is found, it falls back to "vi" (same as git). If vi is not available, it will fail with a message.
2020-06-26 00:50:39 +02:00
Stephan Dilly
8627d940f4 steamline some more command functions 2020-06-25 19:05:59 +02:00
Stephan Dilly
df338334e1 2% optimisation in revlog where amend was still run on each event 2020-06-25 18:35:16 +02:00
Stephan Dilly
b3b7f37756 bump dep 2020-06-25 17:45:24 +02:00
Stephan Dilly
fc4c379921 bump version 2020-06-25 17:44:49 +02:00
Stephan Dilly
d760533c94 fix categories 2020-06-25 17:44:22 +02:00
Stephan Dilly
895c013d10 fixed author column width (closes #148) 2020-06-25 10:27:07 +02:00
Stephan Dilly
97560564c9 run hooks from workdir and not from current dir (closes #151) 2020-06-25 08:14:43 +02:00
Stephan Dilly
b66d385a8f sort order 2020-06-25 07:47:10 +02:00
Stephan Dilly
1028a51652 fix invalid utf8 in commit msg also for commit details (see #150) 2020-06-24 16:08:46 +02:00
Stephan Dilly
fab5b6ea47 display lossy commit msg when containing invalid utf8 (closes #150) 2020-06-24 10:11:27 +02:00
Stephan Dilly
6b52b60280 added badges 2020-06-23 12:24:57 +02:00
Stephan Dilly
e78a157937 cargo update 2020-06-23 11:08:26 +02:00
Stephan Dilly
0d84abd1c6 make draw take shared ref again 2020-06-23 11:03:02 +02:00
Stephan Dilly
19947a7ec0 fix state change bug introduced in last commit 2020-06-23 00:24:12 +02:00
Stephan Dilly
cb6fe05cd6 indicate whether input polling state in process of changing 2020-06-23 00:18:59 +02:00
Stephan Dilly
b01f716677 fix diff of commit not returning binary size 2020-06-22 22:03:45 +02:00
Stephan Dilly
a98dea7825 clippy fix 2020-06-22 20:12:19 +02:00
Stephan Dilly
9ecd911fff update changes (closes #141) 2020-06-22 20:04:13 +02:00
Stephan Dilly
76e52cc7a2 show file size diff for binary files (#141) 2020-06-22 20:01:04 +02:00
Stephan Dilly
f287d6a351 changelog 2020-06-22 16:44:13 +02:00
Stephan Dilly
b8397ae285 make help headers more obvious (closes #131) 2020-06-22 16:42:16 +02:00
Stephan Dilly
afa6aad973 cleanup 2020-06-22 16:36:54 +02:00
Stephan Dilly
6199706a2f remove one indirection 2020-06-22 12:40:54 +02:00
Stephan Dilly
86fafbd47b clippy fixes 2020-06-22 12:32:01 +02:00
Stephan Dilly
c38240927a more fitting bug template (#144) 2020-06-22 12:27:03 +02:00
Stephan Dilly
bfc97967e8 Merge branch 'master' of github.com:Extrawurst/gitui 2020-06-22 12:21:51 +02:00
Stephan Dilly
b899751c2b share theme instead of copying it all over the place 2020-06-22 12:21:21 +02:00
dependabot-preview[bot]
510874ef7f Bump serde from 1.0.112 to 1.0.114
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.112 to 1.0.114.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.114)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 11:35:31 +02:00
Stephan Dilly
79b8bdfae2 rename 2020-06-22 09:36:56 +02:00
Stephan Dilly
4bcfa61087 allow input polling to be paused (#114) 2020-06-22 09:13:37 +02:00
Stephan Dilly
598b98b2bd
Update README.md
Fix #143
2020-06-20 09:27:12 +02:00
Daniel Obermaier
9dcc445ab9 simple fix for arrow utf8 encoding in help window 2020-06-19 13:16:23 +02:00
Stephan Dilly
073908a522 add chat badge 2020-06-18 10:27:55 +02:00
Stephan Dilly
9b0992e7a4 improve readability (see #139) 2020-06-17 17:05:34 +02:00
Stephan Dilly
956e4b3676 homebrew core change 2020-06-16 21:53:38 +02:00
A. Carscadden
5c29571515
update README.md (#136)
Co-authored-by: Stephan Dilly <dilly.stephan@gmail.com>
2020-06-16 21:48:52 +02:00
Dario Vladovic
35926efe5e Use official Homebrew formula 2020-06-16 21:33:45 +02:00
Stephan Dilly
1ce204cad0 expectation management 2020-06-16 17:00:32 +02:00
Stephan Dilly
e702e23bb6 Merge branch 'master' of github.com:Extrawurst/gitui 2020-06-16 16:46:52 +02:00
Stephan Dilly
b4400dfe13 Use terminal blue as default selection background (closes #129) 2020-06-16 16:46:46 +02:00
dependabot-preview[bot]
ef51b1ec45 Bump rayon-core from 1.7.0 to 1.7.1
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 15:02:27 +02:00
dependabot-preview[bot]
119e2f026f Bump thiserror from 1.0.19 to 1.0.20
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.19...1.0.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 15:01:56 +02:00
dependabot-preview[bot]
d2ab2dd3fa Bump backtrace from 0.3.48 to 0.3.49
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.48 to 0.3.49.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.48...0.3.49)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 14:51:35 +02:00
Stephan Dilly
19db19b010 add test for untracked files in stash bug (#130) 2020-06-15 23:40:09 +02:00
Stephan Dilly
dd7880d650 updates 2020-06-15 12:30:48 +02:00
Stephan Dilly
f119595128 fix clippy 2020-06-15 12:30:44 +02:00
dependabot-preview[bot]
2bee1f5b6d Bump serde from 1.0.111 to 1.0.112
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.111 to 1.0.112.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.111...v1.0.112)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 12:25:13 +02:00
290 changed files with 54619 additions and 9851 deletions

8
.cargo/config.toml Normal file
View file

@ -0,0 +1,8 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

2
.clippy.toml Normal file
View file

@ -0,0 +1,2 @@
msrv = "1.88.0"
cognitive-complexity-threshold = 18

3
.editorconfig Normal file
View file

@ -0,0 +1,3 @@
root = true
[*.rs]
indent_style = tab

2
.github/FUNDING.yml vendored
View file

@ -1 +1 @@
github: extrawurst
github: extrawurst

View file

@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
labels: 'bug'
assignees: ''
---
@ -23,10 +23,10 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Context (please complete the following information):**
- OS/Distro + Version: [e.g. `macOS 10.15.5`]
- GitUI Version [e.g. `0.5`]
- Rust version: [e.g `1.44`]
**Additional context**
Add any other context about the problem here.

View file

@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
labels: 'feature-request'
assignees: ''
---

16
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,16 @@
<!---
Thank you for contributing to GitUI! Please fill out the template below, and remove or add any
information as you feel necessary.
--->
This Pull Request fixes/closes #{issue_num}.
It changes the following:
-
-
I followed the checklist:
- [ ] I added unittests
- [ ] I ran `make check` without errors
- [ ] I tested the overall application
- [ ] I added an appropriate item to the changelog

16
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
cargo-minor:
patterns: ["*"]
update-types:
- 'minor'
cargo-patch:
patterns: ["*"]
update-types:
- 'patch'

11
.github/stale.yml vendored
View file

@ -1,17 +1,18 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- nostale
# Label to use when marking an issue as stale
staleLabel: wontfix
staleLabel: dormant
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
closeComment: false

23
.github/workflows/brew.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: brew update
on:
# only manually
workflow_dispatch:
inputs:
tag-name:
required: true
description: 'release tag'
jobs:
update_brew:
runs-on: ubuntu-latest
steps:
- name: Bump homebrew-core formula
uses: mislav/bump-homebrew-formula-action@v3
env:
COMMITTER_TOKEN: ${{ secrets.BREW_TOKEN }}
with:
formula-name: gitui
# https://github.com/mislav/bump-homebrew-formula-action/issues/58
formula-path: Formula/g/gitui.rb
tag-name: ${{ github.event.inputs.tag-name }}

View file

@ -2,82 +2,133 @@ name: CD
on:
push:
tags:
- '*'
tags:
- "*"
workflow_dispatch:
permissions:
contents: write
jobs:
release:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Get version
id: get_version
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy
- name: Get version
id: get_version
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Build
run: cargo build
- name: Run tests
run: make test
- name: Run clippy
run: |
cargo clean
make clippy
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
shared-key: ${{ matrix.os }}-${{ env.cache-name }}-stable
- name: Setup MUSL
if: matrix.os == 'ubuntu-latest'
run: |
rustup target add x86_64-unknown-linux-musl
sudo apt-get -qq install musl-tools
- name: Build Release Mac
if: matrix.os == 'macos-latest'
run: make release-mac
- name: Build Release Linux
if: matrix.os == 'ubuntu-latest'
run: make release-linux-musl
- name: Build Release Win
if: matrix.os == 'windows-latest'
run: make release-win
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Set SHA
if: matrix.os == 'macos-latest'
id: shasum
run: |
echo ::set-output name=sha::"$(shasum -a 256 ./release/gitui-mac.tar.gz | awk '{printf $1}')"
- uses: taiki-e/install-action@nextest
- name: Extract release notes
if: matrix.os == 'ubuntu-latest'
id: release_notes
uses: ffurrer2/extract-release-notes@v1
- name: Release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.release_notes.outputs.release_notes }}
prerelease: false
files: |
./release/*.tar.gz
./release/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
if: matrix.os != 'ubuntu-22.04'
env:
GITUI_RELEASE: 1
run: cargo build
- name: Run tests
if: matrix.os != 'ubuntu-22.04'
run: make test
- name: Run clippy
if: matrix.os != 'ubuntu-22.04'
run: |
cargo clean
make clippy
- name: Bump Brew
if: matrix.os == 'macos-latest'
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.BREW_TOKEN }}
run: |
brew tap extrawurst/tap
brew bump-formula-pr -f --version=${{ steps.get_version.outputs.version }} --no-browse --no-audit \
--sha256=${{ steps.shasum.outputs.sha }} \
--url="https://github.com/extrawurst/gitui/releases/download/${{ steps.get_version.outputs.version }}/gitui-mac.tar.gz" \
extrawurst/tap/gitui
- name: Setup MUSL
if: matrix.os == 'ubuntu-latest'
run: |
rustup target add x86_64-unknown-linux-musl
sudo apt-get -qq install musl-tools
- name: Setup ARM toolchain
if: matrix.os == 'ubuntu-22.04'
run: |
rustup target add aarch64-unknown-linux-gnu
rustup target add armv7-unknown-linux-gnueabihf
rustup target add arm-unknown-linux-gnueabihf
curl -o $GITHUB_WORKSPACE/aarch64.tar.xz https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz
curl -o $GITHUB_WORKSPACE/arm.tar.xz https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tar.xz
tar xf $GITHUB_WORKSPACE/aarch64.tar.xz
tar xf $GITHUB_WORKSPACE/arm.tar.xz
echo "$GITHUB_WORKSPACE/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf/bin" >> $GITHUB_PATH
- name: Build Release Mac
if: matrix.os == 'macos-latest'
env:
GITUI_RELEASE: 1
run: make release-mac
- name: Build Release Mac x86
if: matrix.os == 'macos-latest'
env:
GITUI_RELEASE: 1
run: |
rustup target add x86_64-apple-darwin
make release-mac-x86
- name: Build Release Linux
if: matrix.os == 'ubuntu-latest'
env:
GITUI_RELEASE: 1
run: make release-linux-musl
- name: Build Release Win
if: matrix.os == 'windows-latest'
env:
GITUI_RELEASE: 1
run: make release-win
- name: Build Release Linux ARM
if: matrix.os == 'ubuntu-22.04'
env:
GITUI_RELEASE: 1
run: make release-linux-arm
- name: Set SHA
if: matrix.os == 'macos-latest'
id: shasum
run: |
echo sha="$(shasum -a 256 ./release/gitui-mac.tar.gz | awk '{printf $1}')" >> $GITHUB_OUTPUT
- name: Extract release notes
if: matrix.os == 'ubuntu-latest'
id: release_notes
uses: ffurrer2/extract-release-notes@v2
- name: Release
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.release_notes.outputs.release_notes }}
prerelease: ${{ contains(github.ref, '-') }}
files: |
./release/*.tar.gz
./release/*.zip
./release/*.msi
- name: Bump homebrew-core formula
uses: mislav/bump-homebrew-formula-action@v3
if: "matrix.os == 'macos-latest' && !contains(github.ref, '-')" # skip prereleases
env:
COMMITTER_TOKEN: ${{ secrets.BREW_TOKEN }}
with:
formula-name: gitui
# https://github.com/mislav/bump-homebrew-formula-action/issues/58
formula-path: Formula/g/gitui.rb

View file

@ -2,97 +2,324 @@ name: CI
on:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
- cron: "0 2 * * *"
push:
branches: [ '*' ]
branches: ["*"]
pull_request:
branches: [ master ]
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [nightly, stable, "1.88"]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
shared-key: ${{ matrix.os }}-${{ env.cache-name }}-${{ matrix.rust }}
- name: Build Debug
run: |
rustc --version
cargo build
- name: MacOS Workaround
if: matrix.os == 'macos-latest'
run: cargo clean -p serde_derive -p thiserror
- name: Run tests
run: make test
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- name: Run clippy
run: |
cargo clean
make clippy
- name: Build Release
run: make build-release
- name: Override rust toolchain
run: rustup override set ${{ matrix.rust }}
- name: Rustup Show
run: rustup show
- uses: taiki-e/install-action@nextest
- name: Build Debug
run: |
cargo build
- name: Run tests
run: make test
- name: Run clippy
run: |
make clippy
- name: Build Release
run: make build-release
- name: Test Install
run: cargo install --path "." --force --locked
- name: Binary Size (unix)
if: matrix.os != 'windows-latest'
run: |
ls -l ./target/release/gitui
- name: Binary Size (win)
if: matrix.os == 'windows-latest'
run: |
ls -l ./target/release/gitui.exe
- name: Binary dependencies (mac)
if: matrix.os == 'macos-latest'
run: |
otool -L ./target/release/gitui
- name: Build MSI (windows)
if: matrix.os == 'windows-latest'
run: |
cargo install cargo-wix --version 0.3.3 --locked
cargo wix --version
cargo wix -p gitui --no-build --nocapture --output ./target/wix/gitui-win.msi
ls -l ./target/wix/gitui-win.msi
build-linux-musl:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, stable, "1.88"]
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: x86_64-unknown-linux-musl
- uses: actions/checkout@v4
- name: Setup MUSL
run: |
sudo apt-get -qq install musl-tools
- name: Build Debug
run: cargo build --target=x86_64-unknown-linux-musl
- name: Build Release
run: |
cargo build --release --target=x86_64-unknown-linux-musl
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }}
rustfmt:
name: Rustfmt
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: x86_64-unknown-linux-musl
# The build would fail without manually installing the target.
# https://github.com/dtolnay/rust-toolchain/issues/83
- name: Manually install target
run: rustup target add x86_64-unknown-linux-musl
- name: Override rust toolchain
run: rustup override set ${{ matrix.rust }}
- name: Rustup Show
run: rustup show
- uses: taiki-e/install-action@nextest
- name: Setup MUSL
run: |
sudo apt-get -qq install musl-tools
- name: Build Debug
run: |
make build-linux-musl-debug
./target/x86_64-unknown-linux-musl/debug/gitui --version
- name: Build Release
run: |
make build-linux-musl-release
./target/x86_64-unknown-linux-musl/release/gitui --version
ls -l ./target/x86_64-unknown-linux-musl/release/gitui
- name: Test
run: |
make test-linux-musl
- name: Test Install
run: cargo install --path "." --force --locked
build-linux-arm:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, stable, "1.88"]
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v4
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }}
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Override rust toolchain
run: rustup override set ${{ matrix.rust }}
- name: Setup ARM toolchain
run: |
rustup target add aarch64-unknown-linux-gnu
rustup target add armv7-unknown-linux-gnueabihf
rustup target add arm-unknown-linux-gnueabihf
curl -o $GITHUB_WORKSPACE/aarch64.tar.xz https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz
curl -o $GITHUB_WORKSPACE/arm.tar.xz https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tar.xz
tar xf $GITHUB_WORKSPACE/aarch64.tar.xz
tar xf $GITHUB_WORKSPACE/arm.tar.xz
echo "$GITHUB_WORKSPACE/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf/bin" >> $GITHUB_PATH
- name: Rustup Show
run: rustup show
- name: Build Debug
run: |
make build-linux-arm-debug
- name: Build Release
run: |
make build-linux-arm-release
ls -l ./target/aarch64-unknown-linux-gnu/release/gitui || ls -l ./target/armv7-unknown-linux-gnueabihf/release/gitui || ls -l ./target/arm-unknown-linux-gnueabihf/release/gitui
build-apple-x86:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, stable, "1.88"]
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v4
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
key: apple-x86-${{ env.cache-name }}-${{ matrix.rust }}
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Override rust toolchain
run: rustup override set ${{ matrix.rust }}
- name: Setup target
run: rustup target add x86_64-apple-darwin
- name: Rustup Show
run: rustup show
- name: Build Debug
run: |
make build-apple-x86-debug
- name: Build Release
run: |
make build-apple-x86-release
ls -l ./target/x86_64-apple-darwin/release/gitui
linting:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
- run: cargo fmt -- --check
- uses: actions/checkout@v4
sec:
name: Security audit
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
key: ubuntu-latest-${{ env.cache-name }}-stable
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt -- --check
- name: tombi install
uses: tombi-toml/setup-tombi@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: '0.9.0'
- name: tombi check
run: |
tombi format --check
- name: cargo-deny install
run: |
cargo install --locked cargo-deny
- name: cargo-deny checks
run: |
cargo deny check
udeps:
name: udeps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
key: ubuntu-latest-${{ env.cache-name }}-nightly
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
- name: build cargo-udeps
run: cargo install --git https://github.com/est31/cargo-udeps --locked
- name: run cargo-udeps
run: cargo +nightly udeps --all-targets
log-test:
name: Changelog Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Extract release notes
id: extract_release_notes
uses: ffurrer2/extract-release-notes@v1
with:
release_notes_file: ./release-notes.txt
- uses: actions/upload-artifact@v1
with:
name: release-notes.txt
path: ./release-notes.txt
- uses: actions/checkout@v4
- name: Extract release notes
id: extract_release_notes
uses: ffurrer2/extract-release-notes@v2
with:
release_notes_file: ./release-notes.txt
- uses: actions/upload-artifact@v4
with:
name: release-notes.txt
path: ./release-notes.txt
test-homebrew:
name: Test Homebrew Formula (macOS)
runs-on: macos-latest
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install stable Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Let Homebrew build gitui from source
run: brew install --build-from-source gitui

125
.github/workflows/nightly.yml vendored Normal file
View file

@ -0,0 +1,125 @@
name: Build Nightly Releases
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
AWS_BUCKET_NAME: s3://gitui/nightly/
jobs:
release:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
env:
cache-name: ci
with:
shared-key: ${{ matrix.os }}-${{ env.cache-name }}-stable
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: taiki-e/install-action@nextest
# ideally we trigger the nightly build/deploy only if the normal nightly CI finished successfully
- name: Run tests
if: matrix.os != 'ubuntu-22.04'
run: make test
- name: Run clippy
if: matrix.os != 'ubuntu-22.04'
run: |
cargo clean
make clippy
- name: Setup MUSL
if: matrix.os == 'ubuntu-latest'
run: |
rustup target add x86_64-unknown-linux-musl
sudo apt-get -qq install musl-tools
- name: Setup ARM toolchain
if: matrix.os == 'ubuntu-22.04'
run: |
rustup target add aarch64-unknown-linux-gnu
rustup target add armv7-unknown-linux-gnueabihf
rustup target add arm-unknown-linux-gnueabihf
curl -o $GITHUB_WORKSPACE/aarch64.tar.xz https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz
curl -o $GITHUB_WORKSPACE/arm.tar.xz https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tar.xz
tar xf $GITHUB_WORKSPACE/aarch64.tar.xz
tar xf $GITHUB_WORKSPACE/arm.tar.xz
echo "$GITHUB_WORKSPACE/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf/bin" >> $GITHUB_PATH
- name: Build Release Mac
if: matrix.os == 'macos-latest'
run: make release-mac
- name: Build Release Mac x86
if: matrix.os == 'macos-latest'
run: |
rustup target add x86_64-apple-darwin
make release-mac-x86
- name: Build Release Linux
if: matrix.os == 'ubuntu-latest'
run: make release-linux-musl
- name: Build Release Win
if: matrix.os == 'windows-latest'
run: make release-win
- name: Build Release Linux ARM
if: matrix.os == 'ubuntu-22.04'
run: make release-linux-arm
- name: Ubuntu 22.04 Upload Artifact
if: matrix.os == 'ubuntu-22.04'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KEY_SECRET }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
run: |
aws s3 cp ./release/gitui-linux-armv7.tar.gz $AWS_BUCKET_NAME
aws s3 cp ./release/gitui-linux-arm.tar.gz $AWS_BUCKET_NAME
aws s3 cp ./release/gitui-linux-aarch64.tar.gz $AWS_BUCKET_NAME
- name: Ubuntu Latest Upload Artifact
if: matrix.os == 'ubuntu-latest'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KEY_SECRET }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
run: |
aws s3 cp ./release/gitui-linux-x86_64.tar.gz $AWS_BUCKET_NAME
- name: MacOS Upload Artifact
if: matrix.os == 'macos-latest'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KEY_SECRET }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
run: |
aws s3 cp ./release/gitui-mac.tar.gz $AWS_BUCKET_NAME
aws s3 cp ./release/gitui-mac-x86.tar.gz $AWS_BUCKET_NAME
- name: Windows Upload Artifact
if: matrix.os == 'windows-latest'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KEY_SECRET }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
run: |
aws s3 cp ./release/gitui-win.msi $env:AWS_BUCKET_NAME
aws s3 cp ./release/gitui-win.tar.gz $env:AWS_BUCKET_NAME

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
/release
.DS_Store
/.idea/
flamegraph.svg

View file

@ -1,5 +1,4 @@
{
"editor.formatOnSave": true,
"workbench.settings.enableNaturalLanguageSearch": false,
"telemetry.enableTelemetry": false,
}

File diff suppressed because it is too large Load diff

26
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,26 @@
# Contributing
Were glad you found this document that is intended to make contributing to
GitUI as easy as possible!
## Building GitUI
In order to build GitUI on your machine, follow the instructions in the
[“Build” section](./README.md#build).
## Getting help
Theres a [Discord server][discord-server] you can join if you get stuck or
dont know where to start. People are happy to answer any questions you might
have!
## Getting started
If you are looking for something to work on, but dont yet know what might be a
good first issue, you can take a look at [issues labelled with
`good-first-issue`][good-first-issues]. They have been selected to not require
too much context so that people not familiar with the codebase yet can still
make a contribution.
[discord-server]: https://discord.gg/rZv4uxSQx3
[good-first-issues]: https://github.com/gitui-org/gitui/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22

5031
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,55 +1,110 @@
[package]
name = "gitui"
version = "0.7.0"
authors = ["Stephan Dilly <dilly.stephan@gmail.com>"]
version = "0.28.1"
authors = ["extrawurst <mail@rusticorn.com>"]
description = "blazing fast terminal-ui for git"
edition = "2018"
exclude = [".github/*",".vscode/*"]
homepage = "https://github.com/extrawurst/gitui"
repository = "https://github.com/extrawurst/gitui"
edition = "2021"
rust-version = "1.88"
exclude = [".github/*", ".vscode/*", "assets/*"]
homepage = "https://github.com/gitui-org/gitui"
repository = "https://github.com/gitui-org/gitui"
readme = "README.md"
license = "MIT"
categories = ["command-line-utilities"]
keywords = [
"git",
"gui",
"cli",
"terminal",
"ui",
keywords = ["cli", "git", "gui", "terminal", "ui"]
build = "build.rs"
[workspace]
members = [
"asyncgit",
"filetreelist",
"git2-hooks",
"git2-testing",
"scopetime",
]
[dependencies]
scopetime = { path = "./scopetime", version = "0.1" }
asyncgit = { path = "./asyncgit", version = "0.7" }
crossterm = "0.17"
clap = { version = "2.33", default-features = false }
tui = { version = "0.9", default-features = false, features = ['crossterm'] }
itertools = "0.9"
rayon-core = "1.7"
log = "0.4"
simplelog = { version = "0.8", default-features = false }
dirs = "2.0"
crossbeam-channel = "0.4"
scopeguard = "1.1"
bitflags = "1.2"
chrono = "0.4"
anyhow = "1.0"
asyncgit = { path = "./asyncgit", version = "0.28.1", default-features = false }
backtrace = "0.3"
ron = "0.6"
base64 = "0.22"
bitflags = "2.10"
bugreport = "0.5.1"
bwrap = { version = "1.3", features = ["use_std"] }
bytesize = { version = "2.3", default-features = false }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
clap = { version = "4.5", features = ["cargo", "env"] }
crossbeam-channel = "0.5"
crossterm = { version = "0.29", features = ["serde"] }
dirs = "6.0"
easy-cast = "0.5"
filetreelist = { path = "./filetreelist", version = ">=0.6" }
fuzzy-matcher = "0.3"
gh-emoji = { version = "1.0", optional = true }
indexmap = "2"
itertools = "0.14"
log = "0.4"
notify = "8"
notify-debouncer-mini = "0.7"
once_cell = "1"
parking_lot_core = "0.9"
ratatui = { version = "0.30", default-features = false, features = [
"crossterm",
"serde",
] }
ratatui-textarea = "0.8"
rayon-core = "1.13"
ron = "0.12"
scopeguard = "1.2"
scopetime = { path = "./scopetime", version = "0.1" }
serde = "1.0"
anyhow = "1.0.31"
unicode-width = "0.1"
shellexpand = "3.1"
simplelog = { version = "0.12", default-features = false }
struct-patch = "0.10"
syntect = { version = "5.3", default-features = false, features = [
"default-syntaxes",
"default-themes",
"html",
"parsing",
"plist-load",
] }
two-face = { version = "0.4.4", default-features = false }
unicode-segmentation = "1.12"
unicode-truncate = "2.0"
unicode-width = "0.2"
which = "8.0"
[dev-dependencies]
env_logger = "0.11"
git2-testing = { path = "./git2-testing" }
insta = { version = "1.41.0", features = ["filters"] }
pretty_assertions = "1.4"
tempfile = "3"
[build-dependencies]
chrono = { version = "0.4", default-features = false, features = ["clock"] }
[badges]
maintenance = { status = "actively-developed" }
[features]
default=[]
timing=["scopetime/enabled"]
default = ["ghemoji", "regex-fancy", "trace-libgit", "vendor-openssl"]
ghemoji = ["gh-emoji"]
# regex-* features are mutually exclusive.
regex-fancy = ["syntect/regex-fancy", "two-face/syntect-fancy"]
regex-onig = ["syntect/regex-onig", "two-face/syntect-onig"]
timing = ["scopetime/enabled"]
trace-libgit = ["asyncgit/trace-libgit"]
vendor-openssl = ["asyncgit/vendor-openssl"]
[workspace]
members=[
"asyncgit",
"scopetime",
]
# make debug build as fast as release
# usage of utf8 encoding inside tui
# makes their debug profile slow
[profile.dev.package."ratatui"]
opt-level = 3
[profile.release]
opt-level = "z" # Optimize for size.
strip = "debuginfo"
lto = true
opt-level = 'z' # Optimize for size.
codegen-units = 1

26
FAQ.md Normal file
View file

@ -0,0 +1,26 @@
## <a name="table-of-contents"></a> Table of Contents
1. ["Bad Credentials" Error](#credentials)
2. [Custom key bindings](#keybindings)
2. [Watcher](#watcher)
## 1. <a name="credentials"></a> "Bad Credentials" Error <small><sup>[Top ▲](#table-of-contents)</sup></small>
Some users have trouble pushing/pulling from remotes and adding their ssh-key to their ssh-agent solved the issue. The error they get is:
![](./assets/bad-credentials.png)
See Github's excellent documentation for [Adding your SSH Key to the ssh-agent](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent)
Note that in some cases adding the line `ssh-add -K ~/.ssh/id_ed25519`(or whatever your key is called) to your bash init script is necessary too to survive restarts.
## 2. <a name="keybindings"></a> Custom key bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
If you want to use `vi`-style keys or customize your key bindings in any other fashion see the specific docs on that: [key config](./KEY_CONFIG.md)
## 3. <a name="watcher"></a> Watching for changes <small><sup>[Top ▲](#table-of-contents)</sup></small>
By default, `gitui` polls for changes in the working directory every 5 seconds. If you supply `--watcher` as an argument, it uses a `notify`-based approach instead. This is usually faster and was for some time the default update strategy. It turned out, however, that `notify`-based updates can cause issues on some platforms, so tick-based updates seemed like a safer default.
See #1444 for details.

51
KEY_CONFIG.md Normal file
View file

@ -0,0 +1,51 @@
# Key Config
The default keys are based on arrow keys to navigate.
However popular demand lead to fully customizability of the key bindings.
Create a `key_bindings.ron` file like this:
```
(
move_left: Some(( code: Char('h'), modifiers: "")),
move_right: Some(( code: Char('l'), modifiers: "")),
move_up: Some(( code: Char('k'), modifiers: "")),
move_down: Some(( code: Char('j'), modifiers: "")),
stash_open: Some(( code: Char('l'), modifiers: "")),
open_help: Some(( code: F(1), modifiers: "")),
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
)
```
The config file format based on the [Ron file format](https://github.com/ron-rs/ron).
The location of the file depends on your OS:
* `$HOME/.config/gitui/key_bindings.ron` (mac)
* `$XDG_CONFIG_HOME/gitui/key_bindings.ron` (linux using XDG)
* `$HOME/.config/gitui/key_bindings.ron` (linux)
* `%APPDATA%/gitui/key_bindings.ron` (Windows)
See all possible keys to overwrite in gitui: [here](https://github.com/gitui-org/gitui/blob/master/src/keys/key_list.rs#L83)
Possible values for:
* `code` are defined by the type `KeyCode` in crossterm: [here](https://docs.rs/crossterm/latest/crossterm/event/enum.KeyCode.html)
* `modifiers` are defined by the type `KeyModifiers` in crossterm: [here](https://docs.rs/crossterm/latest/crossterm/event/struct.KeyModifiers.html)
Here is a [vim style key config](vim_style_key_config.ron) with `h`, `j`, `k`, `l` to navigate. Use it to copy the content into `key_bindings.ron` to get vim style key bindings.
# Key Symbols
Similar to the above GitUI allows you to change the way the UI visualizes key combos containing special keys like `enter`(default: `⏎`) and `shift`(default: `⇧`).
If we can find a file `key_symbols.ron` in the above folders we apply the overwrites in it.
Example content of this file looks like:
```
(
enter: Some("enter"),
shift: Some("shift-")
)
```
This example will only overwrite two symbols. Find all possible symbols to overwrite in `symbols.rs` in the type `KeySymbolsFile` ([src/keys/symbols.rs](https://github.com/gitui-org/gitui/blob/master/src/keys/symbols.rs))

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 Stephan Dilly
Copyright (c) 2025 gitui-org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

107
Makefile
View file

@ -1,47 +1,120 @@
.PHONY: debug build-release release-linux-musl test clippy clippy-pedantic install install-debug
.PHONY: debug build-release release-linux-musl test clippy clippy-pedantic install install-debug sort
ARGS=-l
# ARGS=-l -d ~/code/extern/kubernetes
# ARGS=-l -d ~/code/extern/linux
# ARGS=-l -d ~/code/git-bare-test.git -w ~/code/git-bare-test
profile:
CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --features timing -- ${ARGS}
run-timing:
cargo run --features=timing --release -- ${ARGS}
debug:
cargo run --features=timing -- -l
RUST_BACKTRACE=true cargo run --features=timing -- ${ARGS}
build-release:
cargo build --release
cargo build --release --locked
release-mac: build-release
strip target/release/gitui
otool -L target/release/gitui
ls -lisah target/release/gitui
mkdir -p release
tar -C ./target/release/ -czvf ./release/gitui-mac.tar.gz ./gitui
ls -lisah ./release/gitui-mac.tar.gz
release-mac-x86: build-apple-x86-release
strip target/x86_64-apple-darwin/release/gitui
otool -L target/x86_64-apple-darwin/release/gitui
ls -lisah target/x86_64-apple-darwin/release/gitui
mkdir -p release
tar -C ./target/x86_64-apple-darwin/release/ -czvf ./release/gitui-mac-x86.tar.gz ./gitui
ls -lisah ./release/gitui-mac-x86.tar.gz
release-win: build-release
mkdir -p release
tar -C ./target/release/ -czvf ./release/gitui-win.tar.gz ./gitui.exe
cargo install cargo-wix --version 0.3.3 --locked
cargo wix -p gitui --no-build --nocapture --output ./release/gitui-win.msi
ls -l ./release/gitui-win.msi
release-linux-musl:
cargo build --release --target=x86_64-unknown-linux-musl
release-linux-musl: build-linux-musl-release
strip target/x86_64-unknown-linux-musl/release/gitui
mkdir -p release
tar -C ./target/x86_64-unknown-linux-musl/release/ -czvf ./release/gitui-linux-musl.tar.gz ./gitui
tar -C ./target/x86_64-unknown-linux-musl/release/ -czvf ./release/gitui-linux-x86_64.tar.gz ./gitui
build-apple-x86-debug:
cargo build --target=x86_64-apple-darwin
build-apple-x86-release:
cargo build --release --target=x86_64-apple-darwin --locked
build-linux-musl-debug:
cargo build --target=x86_64-unknown-linux-musl
build-linux-musl-release:
cargo build --release --target=x86_64-unknown-linux-musl --locked
test-linux-musl:
cargo nextest run --workspace --target=x86_64-unknown-linux-musl
release-linux-arm: build-linux-arm-release
mkdir -p release
aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/gitui
arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/gitui
arm-linux-gnueabihf-strip target/arm-unknown-linux-gnueabihf/release/gitui
tar -C ./target/aarch64-unknown-linux-gnu/release/ -czvf ./release/gitui-linux-aarch64.tar.gz ./gitui
tar -C ./target/armv7-unknown-linux-gnueabihf/release/ -czvf ./release/gitui-linux-armv7.tar.gz ./gitui
tar -C ./target/arm-unknown-linux-gnueabihf/release/ -czvf ./release/gitui-linux-arm.tar.gz ./gitui
build-linux-arm-debug:
cargo build --target=aarch64-unknown-linux-gnu
cargo build --target=armv7-unknown-linux-gnueabihf
cargo build --target=arm-unknown-linux-gnueabihf
build-linux-arm-release:
cargo build --release --target=aarch64-unknown-linux-gnu --locked
cargo build --release --target=armv7-unknown-linux-gnueabihf --locked
cargo build --release --target=arm-unknown-linux-gnueabihf --locked
test:
cargo test --workspace
cargo nextest run --workspace
fmt:
cargo fmt -- --check
clippy:
touch src/main.rs
cargo clean -p gitui -p asyncgit -p scopetime
cargo clippy --all-features
cargo clippy --workspace --all-features
clippy-pedantic:
cargo clean -p gitui -p asyncgit -p scopetime
cargo clippy --all-features -- -W clippy::pedantic
clippy-nightly:
cargo +nightly clippy --workspace --all-features
check: fmt clippy
check: fmt clippy test sort deny
check-nightly:
cargo +nightly c
cargo +nightly clippy --workspace --all-features
cargo +nightly t
deny:
cargo deny check
sort:
tombi format --check
install:
cargo install --path "."
cargo install --path "." --offline --locked
install-debug:
cargo install --features=timing --path "." --offline
install-timing:
cargo install --features=timing --path "." --offline --locked
licenses:
cargo bundle-licenses --format toml --output THIRDPARTY.toml
clean:
cargo clean

14
NIGHTLIES.md Normal file
View file

@ -0,0 +1,14 @@
# Nightlies
**Use with caution as these binaries are build nightly and might be broken**
When you find problems please report them and always mention the version that you see in the `help popup` or when running `gitui -V`
* [gitui-linux-aarch64.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-linux-aarch64.tar.gz)
* [gitui-linux-arm.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-linux-arm.tar.gz)
* [gitui-linux-armv7.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-linux-armv7.tar.gz)
* [gitui-linux-x86_64.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-linux-x86_64.tar.gz)
* [gitui-mac.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-mac.tar.gz)
* [gitui-mac-x86.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-mac-x86.tar.gz)
* [gitui-win.tar.gz](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-win.tar.gz)
* [gitui-win.msi](https://gitui.s3.eu-west-1.amazonaws.com/nightly/gitui-win.msi)

324
README.md
View file

@ -1,125 +1,301 @@
<h1 align="center">
<img width="300px" src="assets/logo.png" />
![CI][s0] [![crates][s1]][l1] ![MIT][s2] [![UNSAFE][s3]][l3] [![ITCH][s4]][l4]
[![CI][s0]][l0] [![crates][s1]][l1] ![MIT][s2] [![UNSAFE][s3]][l3] [![TWEET][s6]][l6] [![dep_status][s7]][l7] [![discord][s8]][l8]
</h1>
[s0]: https://github.com/extrawurst/gitui/workflows/CI/badge.svg
[s0]: https://github.com/gitui-org/gitui/workflows/CI/badge.svg
[l0]: https://github.com/gitui-org/gitui/actions
[s1]: https://img.shields.io/crates/v/gitui.svg
[l1]: https://crates.io/crates/gitui
[s2]: https://img.shields.io/badge/license-MIT-blue.svg
[s3]: https://img.shields.io/badge/unsafe-forbidden-success.svg
[l3]: https://github.com/rust-secure-code/safety-dance/
[s4]: https://img.shields.io/badge/itch.io-ok-green
[l4]: https://extrawurst.itch.io/gitui
[s6]: https://img.shields.io/twitter/follow/extrawurst?label=follow&style=social
[l6]: https://twitter.com/intent/follow?screen_name=extrawurst
[s7]: https://deps.rs/repo/github/gitui-org/gitui/status.svg
[l7]: https://deps.rs/repo/github/gitui-org/gitui
[s8]: https://img.shields.io/discord/1176858176897953872
[l8]: https://discord.gg/rQNeEnMhus
blazing fast terminal-ui for git written in rust
<h5 align="center">GitUI provides you with the comfort of a git GUI but right in your terminal</h1>
![](assets/demo.gif)
![](demo.gif)
# features
## <a name="table-of-contents"></a> Table of Contents
* fast and intuitive key only control
* context based help (**no** need to remember tons of hot-keys)
* inspect/commit/amend changes (incl. hooks: *commit-msg*/*post-commit*)
* (un)stage files/hunks, revert/reset files/hunk
* stashing (save, apply, drop, inspect content)
* browse commit log, diff committed changes
* scalable terminal ui layout
* async [input polling](assets/perf_compare.jpg) and
* async git API for fluid control
1. [Features](#features)
2. [Motivation](#motivation)
3. [Benchmarks](#bench)
4. [Roadmap](#roadmap)
5. [Limitations](#limitations)
6. [Installation](#installation)
7. [Build](#build)
8. [FAQs](#faqs)
9. [Diagnostics](#diagnostics)
10. [Color Theme](#theme)
11. [Key Bindings](#bindings)
12. [Sponsoring](#sponsoring)
13. [Inspiration](#inspiration)
14. [Contributing](#contributing)
15. [Contributors](#contributors)
# benchmarks
## 1. <a name="features"></a> Features <small><sup>[Top ▲](#table-of-contents)</sup></small>
For a [RustBerlin meetup presentation](https://youtu.be/rpilJV-eIVw?t=5334) I compared *lazygit*,*tig* and *gitui* parsing the entire linux git repository (~900k commits):
- Fast and intuitive **keyboard only** control
- Context based help (**no need to memorize** tons of hot-keys)
- Inspect, commit, and amend changes (incl. hooks: *pre-commit*,*commit-msg*,*post-commit*,*prepare-commit-msg*)
- Stage, unstage, revert and reset files, hunks and lines
- Stashing (save, pop, apply, drop, and inspect)
- Push / Fetch to / from remote
- Branch List (create, rename, delete, checkout, remotes)
- Browse / **Search** commit log, diff committed changes
- Responsive terminal UI
- Async git API for fluid control
- Submodule support
- gpg commit signing with shortcomings (see [#97](https://github.com/gitui-org/gitui/issues/97)))
||lazygit|tig|**gitui**|
|--|--|--|--|
|time| 57s | 4m 20s |**24s**
| mem |2.6 gb|1.3 gb| **170 mb**
| binary | 16 mb | **600 kb** | 1.4 mb
| freezes | yes | soso | **no**
| crashes | sometimes | no | **no**
## 2. <a name="motivation"></a> Motivation <small><sup>[Top ▲](#table-of-contents)</sup></small>
presentation slides: https://github.com/extrawurst/gitui-presentation
I do most of my git work in a terminal but I frequently found myself using git GUIs for some use-cases like: index, commit, diff, stash, blame and log.
# known limitations
Unfortunately popular git GUIs all fail on giant repositories or become unresponsive and unusable.
* no support for [bare repositories](https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server) (see [#100](https://github.com/extrawurst/gitui/issues/100))
* [core.hooksPath](https://git-scm.com/docs/githooks) config not supported
* revert/reset hunk in working dir (see [#11](https://github.com/extrawurst/gitui/issues/11))
GitUI provides you with the user experience and comfort of a git GUI but right in your terminal while being portable, fast, free and opensource.
# motivation
## 3. <a name="bench"></a> Benchmarks <small><sup>[Top ▲](#table-of-contents)</sup></small>
I do most of my git usage in a terminal but I frequently found myself using git UIs for some use cases like: index/commit, diff, stash and log.
For a [RustBerlin meetup presentation](https://youtu.be/rpilJV-eIVw?t=5334) ([slides](https://github.com/extrawurst/gitui-presentation)) I compared `lazygit`,`tig` and `gitui` by parsing the entire Linux git repository (which contains over 900k commits):
Over the last 2 years my go-to GUI tool for this was [fork](https://git-fork.com) because it was not bloated, snappy and free. Unfortunately the *free* part will [change soon](https://github.com/ForkIssues/TrackerWin/issues/571) and so I decided to build a fast & simple terminal tool myself to copy the fork features i am using the most.
| | Time | Memory (GB) | Binary (MB) | Freezes | Crashes |
| --------- | ---------- | ----------- | ----------- | --------- | --------- |
| `gitui` | **24 s** ✅ | **0.17** ✅ | 10 | **No** ✅ | **No** ✅ |
| `lazygit` | 57 s | 2.6 | 25 | Yes | Sometimes |
| `tig` | 4 m 20 s | 1.3 | **0.6** ✅ | Sometimes | **No** ✅ |
# installation
## 4. <a name="roadmap"></a> Road(map) to 1.0 <small><sup>[Top ▲](#table-of-contents)</sup></small>
For the time being this product is considered alpha and **not** production ready.
These are the high level goals before calling out `1.0`:
## Arch Linux
* visualize branching structure in log tab ([#81](https://github.com/gitui-org/gitui/issues/81))
* interactive rebase ([#32](https://github.com/gitui-org/gitui/issues/32))
- no git-lfs support (see [#2812](https://github.com/gitui-org/gitui/issues/2812))
There is an [AUR package for `gitui`](https://aur.archlinux.org/packages/gitui/):
## 5. <a name="limitations"></a> Known Limitations <small><sup>[Top ▲](#table-of-contents)</sup></small>
- no sparse repo support (see [#1226](https://github.com/gitui-org/gitui/issues/1226))
- *credential.helper* for https needs to be **explicitly** configured (see [#800](https://github.com/gitui-org/gitui/issues/800))
Currently, this tool does not fully substitute the _git shell_, however both tools work well in tandem.
The priorities for `gitui` are on features that are making me mad when done on the _git shell_, like stashing, staging lines or hunks. Eventually, I will be able to work on making `gitui` a one stop solution - but for that I need help - this is just a spare time project for now.
All support is welcomed! Sponsors as well! ❤️
## 6. <a name="installation"></a> Installation <small><sup>[Top ▲](#table-of-contents)</sup></small>
GitUI is in beta and may contain bugs and missing features. However, for personal use it is reasonably stable and is being used while developing itself.
<a href="https://repology.org/project/gitui/versions">
<img src="https://repology.org/badge/vertical-allrepos/gitui.svg" alt="Packaging status" align="right">
</a>
### Various Package Managers
<details>
<summary>Install Instructions</summary>
##### [Arch Linux](https://archlinux.org/packages/extra/x86_64/gitui/)
```sh
git clone https://aur.archlinux.org/gitui.git
cd gitui
makepkg -si
pacman -S gitui
```
## Fedora
##### Fedora
```sh
sudo dnf install gitui
```
## homebrew (macos)
##### Gentoo
Available in [dm9pZCAq overlay](https://github.com/gentoo-mirror/dm9pZCAq)
```
brew install extrawurst/tap/gitui
```sh
sudo eselect repository enable dm9pZCAq
sudo emerge --sync dm9pZCAq
sudo emerge dev-vcs/gitui::dm9pZCAq
```
## release binaries
##### [openSUSE](https://software.opensuse.org/package/gitui)
see [releases](https://github.com/extrawurst/gitui/releases)
## install from source
### requirements
install **latest** `rust`/`cargo`: https://www.rust-lang.org/tools/install
### cargo install
the simplest way to start playing around with `gitui` is to have `cargo` build/install it:
```
cargo install gitui
```sh
sudo zypper install gitui
```
# diagnostics
##### Homebrew (macOS)
to enable logging:
```
gitui -l
```sh
brew install gitui
```
this will log to:
* `$HOME/Library/Caches/gitui/gitui.log` (mac)
* `$XDG_CACHE_HOME/gitui/gitui.log` (linux using `XDG`)
* `$HOME/.cache/gitui/gitui.log` (linux)
##### [MacPorts (macOS)](https://ports.macports.org/port/gitui/details/)
# color theme
```sh
port install gitui
```
##### [Winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/StephanDilly/gitui) (Windows)
```
winget install gitui
```
##### [Scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/gitui.json) (Windows)
```
scoop install gitui
```
##### [Chocolatey](https://chocolatey.org/packages/gitui) (Windows)
```
choco install gitui
```
##### [Mise](https://github.com/jdx/mise)
```shell
mise use -g gitui@latest
```
##### [Nix](https://search.nixos.org/packages?channel=unstable&show=gitui&from=0&size=50&sort=relevance&query=gitui) (Nix/NixOS)
Nixpkg
```
nix-env -iA nixpkgs.gitui
```
NixOS
```
nix-env -iA nixos.gitui
```
##### [Termux](https://github.com/termux/termux-packages/tree/master/packages/gitui) (Android)
```
pkg install gitui
```
##### [Anaconda](https://anaconda.org/conda-forge/gitui)
```
conda install -c conda-forge gitui
```
</details>
### Release Binaries
[Available for download in releases](https://github.com/gitui-org/gitui/releases)
Binaries available for:
#### Linux
- gitui-linux-x86_64.tar.gz (linux musl statically linked)
- gitui-linux-aarch64.tar.gz (linux on 64 bit arm)
- gitui-linux-arm.tar.gz
- gitui-linux-armv7.tar.gz
All contain a single binary file
#### macOS
- gitui-mac.tar.gz (arm64)
- gitui-mac-x86.tar.gz (intel x86)
#### Windows
- gitui-win.tar.gz (single 64bit binary)
- gitui-win.msi (64bit Installer package)
### Nightly Builds
see [NIGHTLIES.md](./NIGHTLIES.md)
## 7. <a name="build"></a> Build <small><sup>[Top ▲](#table-of-contents)</sup></small>
### Requirements
- Minimum supported `rust`/`cargo` version: `1.88`
- See [Install Rust](https://www.rust-lang.org/tools/install)
- To build openssl dependency (see https://docs.rs/openssl/latest/openssl/)
- perl >= 5.12 (strawberry perl works for windows https://strawberryperl.com/)
- a c compiler (msvc, gcc or clang, cargo will find it)
- To run the complete test suite python is required (and it must be invocable as `python`)
### Cargo Install
The simplest way to start playing around with `gitui` is to have `cargo` build and install it with `cargo install gitui --locked`. If you are not familiar with rust and cargo: [Getting Started with Rust](https://doc.rust-lang.org/book/ch01-00-getting-started.html)
### Cargo Features
#### trace-libgit
enable `libgit2` tracing
works if `libgit2` built with `-DENABLE_TRACE=ON`
this feature enabled by default, to disable: `cargo install --no-default-features`
## 8. <a name="faqs"></a> FAQs <small><sup>[Top ▲](#table-of-contents)</sup></small>
see [FAQs page](./FAQ.md)
## 9. <a name="diagnostics"></a> Diagnostics <small><sup>[Top ▲](#table-of-contents)</sup></small>
To run with logging enabled run `gitui -l`.
This will log to:
- macOS: `$HOME/Library/Caches/gitui/gitui.log`
- Linux using `XDG`: `$XDG_CACHE_HOME/gitui/gitui.log`
- Linux: `$HOME/.cache/gitui/gitui.log`
- Windows: `%LOCALAPPDATA%/gitui/gitui.log`
## 10. <a name="theme"></a> Color Theme <small><sup>[Top ▲](#table-of-contents)</sup></small>
![](assets/light-theme.png)
In general `gitui` should automatically work on `dark` and `light` terminal themes.
However you can customize everything to your liking: [see THEMES.md](THEMES.md)
`gitui` should automatically work on both light and dark terminal themes.
# inspiration
However, you can customize everything to your liking: See [Themes](THEMES.md).
* https://github.com/jesseduffield/lazygit
* https://github.com/jonas/tig
* https://github.com/git-up/GitUp (would be nice to comeup with a way to have the map view available in a terminal tool)
## 11. <a name="bindings"></a> Key Bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
The key bindings can be customized: See [Key Config](KEY_CONFIG.md) on how to set them to `vim`-like bindings.
## 12. <a name="sponsoring"></a> Sponsoring <small><sup>[Top ▲](#table-of-contents)</sup></small>
[![github](https://img.shields.io/badge/-GitHub%20Sponsors-fafbfc?logo=GitHub%20Sponsors)](https://github.com/sponsors/extrawurst)
## 13. <a name="inspiration"></a> Inspiration <small><sup>[Top ▲](#table-of-contents)</sup></small>
- [lazygit](https://github.com/jesseduffield/lazygit)
- [tig](https://github.com/jonas/tig)
- [GitUp](https://github.com/git-up/GitUp)
- It would be nice to come up with a way to have the map view available in a terminal tool
- [git-brunch](https://github.com/andys8/git-brunch)
## 14. <a name="contributing"></a> Contributing <small><sup>[Top ▲](#table-of-contents)</sup></small>
See [CONTRIBUTING.md](CONTRIBUTING.md).
## 15. <a name="contributors"></a> Contributors <small><sup>[Top ▲](#table-of-contents)</sup></small>
Thanks goes to all the contributors that help make GitUI amazing! ❤️
Wanna become a co-maintainer? We are looking for [you](https://github.com/gitui-org/gitui/issues/2084)!
<a href="https://github.com/gitui-org/gitui/graphs/contributors">
<img src="https://contrib.rocks/image?repo=gitui-org/gitui" />
</a>

View file

@ -1,14 +1,90 @@
# Themes
# Themes
default on light terminal:
![](assets/light-theme.png)
to change the colors of the program you have to modify `theme.ron` file
[Ron format](https://github.com/ron-rs/ron) located at config path. The path differs depending on the operating system:
## Configuration
* `$HOME/Library/Preferences/gitui/theme.ron` (mac)
To change the colors of the default theme you need to add a `theme.ron` file that contains the colors you want to override. Note that you dont have to specify the full theme anymore (as of 0.23). Instead, it is sufficient to override just the values that you want to differ from their default values.
The file uses the [Ron format](https://github.com/ron-rs/ron) and is located at one of the following paths, depending on your operating system:
* `$HOME/.config/gitui/theme.ron` (mac)
* `$XDG_CONFIG_HOME/gitui/theme.ron` (linux using XDG)
* `$HOME/.config/gitui/theme.ron` (linux)
* `%APPDATA%/gitui/theme.ron` (Windows)
Valid colors can be found in [ColorDef](./src/ui/style.rs#ColorDef) struct. note that rgb colors might not be supported
in every terminal.
Alternatively, you can create a theme in the same directory mentioned above and use it with the `-t` flag followed by the name of the file in the directory. E.g. If you are on linux calling `gitui -t arc.ron`, this will load the theme in `$XDG_CONFIG_HOME/gitui/arc.ron` or `$HOME/.config/gitui/arc.ron`.
Example theme override:
```ron
(
selection_bg: Some("Blue"),
selection_fg: Some("#ffffff"),
)
```
Note that you need to wrap values in `Some` due to the way the overrides work (as of 0.23).
Notes:
* rgb colors might not be supported in every terminal.
* using a color like `yellow` might appear in whatever your terminal/theme defines for `yellow`
* valid colors can be found in ratatui's [Color](https://docs.rs/ratatui/latest/ratatui/style/enum.Color.html) struct.
* all customizable theme elements can be found in [`style.rs` in the `impl Default for Theme` block](https://github.com/gitui-org/gitui/blob/master/src/ui/style.rs#L305)
## Preset Themes
You can find preset themes by Catppuccin [here](https://github.com/catppuccin/gitui.git).
## Syntax Highlighting
The syntax highlighting theme can be defined using the element `syntax`. Both [default themes of the syntect library](https://github.com/trishume/syntect/blob/7fe13c0fd53cdfa0f9fea1aa14c5ba37f81d8b71/src/dumps.rs#L215) and custom themes are supported.
Example syntax theme:
```ron
(
syntax: Some("InspiredGitHub"),
)
```
Custom themes are located in the [configuration directory](#configuration), are using TextMate's theme format and must have a `.tmTheme` file extension. To load a custom theme, `syntax` must be set to the file name without the file extension. For example, to load [`Blackboard.tmTheme`](https://raw.githubusercontent.com/filmgirl/TextMate-Themes/refs/heads/master/Blackboard.tmTheme), place the file next to `theme.ron` and set:
```ron
(
syntax: Some("Blackboard"),
)
```
[filmgirl/TextMate-Themes](https://github.com/filmgirl/TextMate-Themes) offers many [beautiful](https://inkdeep.github.io/TextMate-Themes) TextMate themes to choose from.
## Customizing line breaks
If you want to change how the line break is displayed in the diff, you can also specify `line_break` in your `theme.ron`:
```ron
(
line_break: Some("¶"),
)
```
Note that if you want to turn it off, you should use a blank string:
```ron
(
line_break: Some(""),
)
```
## Customizing selection
By default the `selection_fg` color is used to color the text of the selected line.
Diff line, filename, commit hashes, time and author are re-colored with `selection_fg` color.
This can be changed by specifying the `use_selection_fg` boolean in your `theme.ron`:
```
(
use_selection_fg: Some(false),
)
```
By default, `use_selection_fg` is set to `true`.

BIN
assets/add-remote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
assets/bad-credentials.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
assets/binary_diff.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
assets/blame-goto-line.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

BIN
assets/blame.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

BIN
assets/branches.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

BIN
assets/by-line-ops.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
assets/checkout-remote.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
assets/compact-tree.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
assets/compare.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
assets/diff-empty-line.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

BIN
assets/fuzzy-find.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 KiB

BIN
assets/gitui-signing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

After

Width:  |  Height:  |  Size: 418 KiB

BIN
assets/log-search.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 36 KiB

1
assets/logo.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" fill="none"><g clip-path="url(#a)"><mask id="c" width="438" height="484" x="38" y="57" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="m340 541 76-39 60-52-76-43-35-8-13 42H231l-13-38-46-7-24-106 20-29v-44l85-47 101-6 48 26 67-40-60-67-150-25-189 78-31 201 116 182 185 22Z"/></mask><g stroke="#000" filter="url(#b)" mask="url(#c)"><path stroke-width="38.4" d="M290 483a183 183 0 1 0 0-366 183 183 0 0 0 0 366Z"/><path fill="#000" stroke-linejoin="round" stroke-width="12.8" d="m480 351 23-9-18-16-5 25Zm-14 36 25-4-15-20-10 24Zm-20 33 25 1-11-23-14 22Zm-26 28 24 6-6-24-18 18Zm-32 22 23 11-1-25-22 14Zm-35 16 20 15 4-25-24 10Zm-37 9 16 18 9-23-25 5Zm-39 1 13 21 13-21h-26Zm-38-6 9 23 16-18-25-5Zm-36-14 4 25 20-15-24-10Zm-33-20-1 25 23-11-22-14Zm-28-26-6 24 24-6-18-18Zm-22-32-11 23 25-1-14-22Zm-16-35-15 20 25 4-10-24Zm-9-37-18 16 23 9-5-25Zm-1-39-21 13 21 13v-26Zm6-38-23 9 18 16 5-25Zm14-36-25 4 15 20 10-24Zm20-33-25-1 11 23 14-22Zm26-28-24-6 6 24 18-18Zm32-22-23-11 1 25 22-14Zm35-16-20-15-4 25 24-10Zm37-9-16-18-9 23 25-5Zm39-1-13-21-13 21h26Zm38 6-9-23-16 18 25 5Zm36 14-4-25-20 15 24 10Zm33 20 1-25-23 11 22 14Zm28 26 6-24-24 6 18 18Zm22 32 11-23-25 1 14 22Zm16 36 15-20-25-4 10 24Zm9 36 18-16-23-9 5 25Z"/><path fill="#000" stroke-linejoin="round" stroke-width="25.6" d="m260 121 30 30 30-30h-60Zm191 95-19 38 38 19-19-57Zm-32 211-41-6-7 41 48-35Zm-210 35-7-41-41 6 48 35Zm-99-189 38-19-19-38-19 57Z"/></g></g><g filter="url(#d)"><path fill="#000" d="M305 307h81v7h-18v71l-35-6a98 98 0 0 1-92-5c-24-16-36-41-36-75 0-26 8-47 23-63 16-16 37-24 63-24 15 0 28 3 41 8l27-5 1 60h-9c-7-36-24-54-51-54h-7c-29 4-44 30-44 80 0 16 1 30 4 42 7 24 22 36 45 36 12 0 22-4 31-10v-55h-24v-7Zm157 71h3c2 0 4 3 4 7h-70v-7l6-1c7-1 10-6 10-14v-92h-16v-8h52v115h11Zm-8-152c0 4-1 7-3 10-4 7-10 11-18 11-4 0-7-1-10-3-8-4-11-10-11-18l2-10c4-7 10-11 19-11 3 0 7 1 10 3 7 4 11 10 11 18Zm24 46v-7h20v-27l36-6v33h37v7h-37v86l1 7c1 10 5 15 12 15l4-1c7-1 13-10 16-25l8 1c-1 8-4 14-6 19-6 9-16 14-30 14h-7c-23-3-34-18-34-45v-71h-20Zm101-49v-8h85v8h-22v97c0 11 0 20 2 28 5 21 16 31 36 31 30 0 45-19 45-59v-97h-22v-8h55v8h-22v96c0 13-2 25-5 34-8 23-27 35-57 35-48 0-72-22-72-65V223h-23Zm271 162h-85v-8h23V223h-23v-8h85v8h-22v154h15c4 1 6 3 7 8Z"/></g><defs><filter id="b" width="455.7" height="455.7" x="62" y="72" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1_2"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_1_2" result="shape"/></filter><filter id="d" width="653.4" height="191.2" x="201" y="201" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1_2"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_1_2" result="shape"/></filter><clipPath id="a"><path fill="#fff" d="M64 74h452v452H64z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 KiB

BIN
assets/msg-scrolling.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

BIN
assets/newlines.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

1
assets/options.drawio Normal file
View file

@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-08-17T21:58:53.216Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15" etag="DR-vNI6rA-1d9_EpYLQC" version="14.9.7" type="device"><diagram id="cIq82w5ce00BbVejkL92" name="Page-1">5Zldc6IwFIZ/DZfrEJCvS0Xb7exHZ9bd6WxvdlIIkGlMmBir3V+/iQQVg+12Bqm7eqHwkkB43nMCJ1puPF9fc1gWX1iKiOXY6dpyJ5bjABCG8kcpz5Xi+0El5BynutFOmOHfSIu2Vpc4RYtGQ8EYEbhsigmjFCWioUHO2arZLGOkedUS5sgQZgkkpnqHU1FUaugEO/0jwnlRXxn4UXVkDuvG+k4WBUzZak9yp5Ybc8ZEtTVfx4goeDWXqt/VkaPbgXFExd90KLNx+X10/wl4v+6/5fx28jMVH/RZniBZ6hvWgxXPNQHOljRF6iS25Y5XBRZoVsJEHV1Jz6VWiDmRe0Bu6tMhLtD66DjB9u5l2CA2R4I/yyZ1h0B30REDvGDgVcpq54AbaazFHn0n1CLUrufbs+/AyA3N5g2cnPPj5Hh+g5Njm5S2wbdPCYTeiSi5BqVZIUPesX9QwWHyKOkcUpP3L4c1hgTnVCoEZWpXgcEyCUdanuM0VT3GTcgZJiRmhPHNudxs8+mIrn9A17UNutE2MBtBeKoYHBp0JyiDSyKOQd2Lt4Xg7BHVrCij6ACflmofEokJ8ZecaAvwpjsduDC03RrxCz74bVPBqVzwDBfuFInFhoR8DhWQ5vKB1b0lr6VGL4Y4fjBwDhwJTUcA6Dc1fMOUm5wyjv7nzBgOgteN6DU1AsOFmNENccf+jKnKCh/OFQ76sCi3HC4iS1zbNCfs05zQMGd4UdnRZkCv2REZBmDFqljSRymTKj8uJx+clvepPu2oC8w9P+wT8D/jhGhxoNeEAGbxORNQLM8zDTL5KJvpIQ07cKTtTQq8e40BzEJ3gmVNdamO+O/viFlU35YCM3r+aaL2CXxAZMx4ivjBNbtwzIsOZzUQvb9jZoloWPWmxaIDdzoB11zdcD2TWuva0fBk0MwSLt6U0moAkKby/SiXm0xORfZyt5pky2BW7032DZVf9ePDtrzxNRYJoxmWvWJ1aLMQpba+oWTJF/gJWd7kWAp1uxzVZm8nJgaDenl962PLGiDwt9PavpXuyaxsqQMJWxwtxs9u7Q8EzewYAq9tBbrXOcUs32YrGeFFFezW1LGiqTUC1vTKGodWeKWUUWyF3k7pK9xPMD+1OxBEfTpg1m9f4VOFfzD4p+DWL94vh3c3cOXu7i+uzbG9Pwrd6R8=</diagram></mxfile>

BIN
assets/options.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

BIN
assets/popup-stacking.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 KiB

BIN
assets/pull.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/push.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
assets/push_tags.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

BIN
assets/rebase.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

BIN
assets/reset_in_log.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
assets/revert-commit.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
assets/reword.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1,000 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 944 KiB

After

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,002 KiB

After

Width:  |  Height:  |  Size: 492 KiB

BIN
assets/scrollbar.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

BIN
assets/select-copy.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

BIN
assets/spinner.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
assets/stash_pop.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

BIN
assets/submodules.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 KiB

BIN
assets/tag-annotation.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

BIN
assets/tagging.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

BIN
assets/tags-list-popup.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
assets/termux-android.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 KiB

BIN
assets/undo-last-commit.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,019 KiB

BIN
assets/vi_support.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View file

@ -1,23 +1,52 @@
[package]
name = "asyncgit"
version = "0.7.0"
authors = ["Stephan Dilly <dilly.stephan@gmail.com>"]
edition = "2018"
version = "0.28.1"
authors = ["extrawurst <mail@rusticorn.com>"]
edition = "2021"
description = "allow using git2 in a asynchronous context"
homepage = "https://github.com/extrawurst/gitui"
repository = "https://github.com/extrawurst/gitui"
homepage = "https://github.com/gitui-org/gitui"
repository = "https://github.com/gitui-org/gitui"
readme = "README.md"
license = "MIT"
categories = ["concurrency","asynchronous"]
categories = ["asynchronous", "concurrency"]
keywords = ["git"]
[dependencies]
git2 = { version = "0.13.6", default-features = false }
rayon-core = "1.7"
crossbeam-channel = "0.4"
bitflags = "2"
crossbeam-channel = "0.5"
dirs = "6.0"
easy-cast = "0.5"
fuzzy-matcher = "0.3"
git2 = "0.20"
git2-hooks = { path = "../git2-hooks", version = "0.7" }
gix = { version = "0.78.0", default-features = false, features = [
"mailmap",
"max-performance",
"revision",
"status",
] }
log = "0.4"
# git2 = { path = "../../extern/git2-rs", features = ["vendored-openssl"]}
# git2 = { git="https://github.com/extrawurst/git2-rs.git", rev="fc13dcc", features = ["vendored-openssl"]}
# pinning to vendored openssl, using the git2 feature this gets lost with new resolver
openssl-sys = { version = "0.9", features = ["vendored"], optional = true }
rayon = "1.11"
rayon-core = "1.13"
scopetime = { path = "../scopetime", version = "0.1" }
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
ssh-key = { version = "0.6.7", features = ["crypto", "encryption"] }
thiserror = "2.0"
unicode-truncate = "2.0"
url = "2.5"
[dev-dependencies]
tempfile = "3.1"
env_logger = "0.11"
invalidstring = { path = "../invalidstring", version = "0.1" }
pretty_assertions = "1.4"
serial_test = "3.3"
tempfile = "3"
[features]
default = ["trace-libgit"]
trace-libgit = []
vendor-openssl = ["openssl-sys"]

View file

@ -1,6 +1,12 @@
# asyncgit
*allow using git2 in a asynchronous context*
*allow using git2 in an asynchronous context*
This crate is designed as part of the [gitui](http://gitui.org) project.
`asyncgit` provides the primary interface to interact with *git* repositories. It is split into the main module and a `sync` part. The latter provides convenience wrapper for typical usage patterns against git repositories.
The primary goal however is to allow putting certain (potentially) long running [git2](https://github.com/rust-lang/git2-rs) calls onto a thread pool.[crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) is then used to wait for a notification confirming the result.
In `gitui` this allows the main-thread and therefore the *ui* to stay responsive.
This crate is part of the [gitui](http://gitui.org) project.
It is used put long running [git2](https://github.com/rust-lang/git2-rs) calls onto a thread pool and use [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) to wait for a message to confirm the call finished.

View file

@ -0,0 +1,302 @@
//! provides `AsyncJob` trait and `AsyncSingleJob` struct
#![deny(clippy::expect_used)]
use crate::error::Result;
use crossbeam_channel::Sender;
use std::sync::{Arc, Mutex, RwLock};
/// Passed to `AsyncJob::run` allowing sending intermediate progress notifications
pub struct RunParams<
T: Copy + Send,
P: Clone + Send + Sync + PartialEq,
> {
sender: Sender<T>,
progress: Arc<RwLock<P>>,
}
impl<T: Copy + Send, P: Clone + Send + Sync + PartialEq>
RunParams<T, P>
{
/// send an intermediate update notification.
/// do not confuse this with the return value of `run`.
/// `send` should only be used about progress notifications
/// and not for the final notification indicating the end of the async job.
/// see `run` for more info
pub fn send(&self, notification: T) -> Result<()> {
self.sender.send(notification)?;
Ok(())
}
/// set the current progress
pub fn set_progress(&self, p: P) -> Result<bool> {
Ok(if *self.progress.read()? == p {
false
} else {
*(self.progress.write()?) = p;
true
})
}
}
/// trait that defines an async task we can run on a threadpool
pub trait AsyncJob: Send + Sync + Clone {
/// defines what notification type is used to communicate outside
type Notification: Copy + Send;
/// type of progress
type Progress: Clone + Default + Send + Sync + PartialEq;
/// can run a synchronous time intensive task.
/// the returned notification is used to tell interested parties
/// that the job finished and the job can be access via `take_last`.
/// prior to this final notification it is not safe to assume `take_last`
/// will already return the correct job
fn run(
&mut self,
params: RunParams<Self::Notification, Self::Progress>,
) -> Result<Self::Notification>;
/// allows observers to get intermediate progress status if the job customizes it
/// by default this will be returning `Self::Progress::default()`
fn get_progress(&self) -> Self::Progress {
Self::Progress::default()
}
}
/// Abstraction for a FIFO task queue that will only queue up **one** `next` job.
/// It keeps overwriting the next job until it is actually taken to be processed
#[derive(Debug, Clone)]
pub struct AsyncSingleJob<J: AsyncJob> {
next: Arc<Mutex<Option<J>>>,
last: Arc<Mutex<Option<J>>>,
progress: Arc<RwLock<J::Progress>>,
sender: Sender<J::Notification>,
pending: Arc<Mutex<()>>,
}
impl<J: 'static + AsyncJob> AsyncSingleJob<J> {
///
pub fn new(sender: Sender<J::Notification>) -> Self {
Self {
next: Arc::new(Mutex::new(None)),
last: Arc::new(Mutex::new(None)),
pending: Arc::new(Mutex::new(())),
progress: Arc::new(RwLock::new(J::Progress::default())),
sender,
}
}
///
pub fn is_pending(&self) -> bool {
self.pending.try_lock().is_err()
}
/// makes sure `next` is cleared and returns `true` if it actually canceled something
pub fn cancel(&self) -> bool {
if let Ok(mut next) = self.next.lock() {
if next.is_some() {
*next = None;
return true;
}
}
false
}
/// take out last finished job
pub fn take_last(&self) -> Option<J> {
self.last.lock().map_or(None, |mut last| last.take())
}
/// spawns `task` if nothing is running currently,
/// otherwise schedules as `next` overwriting if `next` was set before.
/// return `true` if the new task gets started right away.
pub fn spawn(&self, task: J) -> bool {
self.schedule_next(task);
self.check_for_job()
}
///
pub fn progress(&self) -> Option<J::Progress> {
self.progress.read().ok().map(|d| (*d).clone())
}
fn check_for_job(&self) -> bool {
if self.is_pending() {
return false;
}
if let Some(task) = self.take_next() {
let self_clone = (*self).clone();
rayon_core::spawn(move || {
if let Err(e) = self_clone.run_job(task) {
log::error!("async job error: {e}");
}
});
return true;
}
false
}
fn run_job(&self, mut task: J) -> Result<()> {
//limit the pending scope
{
let _pending = self.pending.lock()?;
let notification = task.run(RunParams {
progress: self.progress.clone(),
sender: self.sender.clone(),
})?;
if let Ok(mut last) = self.last.lock() {
*last = Some(task);
}
self.sender.send(notification)?;
}
self.check_for_job();
Ok(())
}
fn schedule_next(&self, task: J) {
if let Ok(mut next) = self.next.lock() {
*next = Some(task);
}
}
fn take_next(&self) -> Option<J> {
self.next.lock().map_or(None, |mut next| next.take())
}
}
#[cfg(test)]
mod test {
use super::*;
use crossbeam_channel::unbounded;
use pretty_assertions::assert_eq;
use std::{
sync::atomic::{AtomicBool, AtomicU32, Ordering},
thread,
time::Duration,
};
#[derive(Clone)]
struct TestJob {
v: Arc<AtomicU32>,
finish: Arc<AtomicBool>,
value_to_add: u32,
}
type TestNotification = ();
impl AsyncJob for TestJob {
type Notification = TestNotification;
type Progress = ();
fn run(
&mut self,
_params: RunParams<Self::Notification, Self::Progress>,
) -> Result<Self::Notification> {
println!("[job] wait");
while !self.finish.load(Ordering::SeqCst) {
std::thread::yield_now();
}
println!("[job] sleep");
thread::sleep(Duration::from_millis(100));
println!("[job] done sleeping");
let res =
self.v.fetch_add(self.value_to_add, Ordering::SeqCst);
println!("[job] value: {res}");
Ok(())
}
}
#[test]
fn test_overwrite() {
let (sender, receiver) = unbounded();
let job: AsyncSingleJob<TestJob> =
AsyncSingleJob::new(sender);
let task = TestJob {
v: Arc::new(AtomicU32::new(1)),
finish: Arc::new(AtomicBool::new(false)),
value_to_add: 1,
};
assert!(job.spawn(task.clone()));
task.finish.store(true, Ordering::SeqCst);
thread::sleep(Duration::from_millis(10));
for _ in 0..5 {
println!("spawn");
assert!(!job.spawn(task.clone()));
}
println!("recv");
receiver.recv().unwrap();
receiver.recv().unwrap();
assert!(receiver.is_empty());
assert_eq!(
task.v.load(std::sync::atomic::Ordering::SeqCst),
3
);
}
fn wait_for_job(job: &AsyncSingleJob<TestJob>) {
while job.is_pending() {
thread::sleep(Duration::from_millis(10));
}
}
#[test]
fn test_cancel() {
let (sender, receiver) = unbounded();
let job: AsyncSingleJob<TestJob> =
AsyncSingleJob::new(sender);
let task = TestJob {
v: Arc::new(AtomicU32::new(1)),
finish: Arc::new(AtomicBool::new(false)),
value_to_add: 1,
};
assert!(job.spawn(task.clone()));
task.finish.store(true, Ordering::SeqCst);
thread::sleep(Duration::from_millis(10));
for _ in 0..5 {
println!("spawn");
assert!(!job.spawn(task.clone()));
}
println!("cancel");
assert!(job.cancel());
task.finish.store(true, Ordering::SeqCst);
wait_for_job(&job);
println!("recv");
receiver.recv().unwrap();
println!("received");
assert_eq!(
task.v.load(std::sync::atomic::Ordering::SeqCst),
2
);
}
}

188
asyncgit/src/blame.rs Normal file
View file

@ -0,0 +1,188 @@
use crate::{
error::Result,
hash,
sync::{self, CommitId, FileBlame, RepoPath},
AsyncGitNotification,
};
use crossbeam_channel::Sender;
use std::{
hash::Hash,
sync::{
atomic::{AtomicUsize, Ordering},
Arc, Mutex,
},
};
///
#[derive(Hash, Clone, PartialEq, Eq)]
pub struct BlameParams {
/// path to the file to blame
pub file_path: String,
/// blame at a specific revision
pub commit_id: Option<CommitId>,
}
struct Request<R, A>(R, Option<A>);
#[derive(Default, Clone)]
struct LastResult<P, R> {
params: P,
result: R,
}
///
pub struct AsyncBlame {
current: Arc<Mutex<Request<u64, FileBlame>>>,
last: Arc<Mutex<Option<LastResult<BlameParams, FileBlame>>>>,
sender: Sender<AsyncGitNotification>,
pending: Arc<AtomicUsize>,
repo: RepoPath,
}
impl AsyncBlame {
///
pub fn new(
repo: RepoPath,
sender: &Sender<AsyncGitNotification>,
) -> Self {
Self {
repo,
current: Arc::new(Mutex::new(Request(0, None))),
last: Arc::new(Mutex::new(None)),
sender: sender.clone(),
pending: Arc::new(AtomicUsize::new(0)),
}
}
///
pub fn last(&self) -> Result<Option<(BlameParams, FileBlame)>> {
let last = self.last.lock()?;
Ok(last.clone().map(|last_result| {
(last_result.params, last_result.result)
}))
}
///
pub fn refresh(&self) -> Result<()> {
if let Ok(Some(param)) = self.get_last_param() {
self.clear_current()?;
self.request(param)?;
}
Ok(())
}
///
pub fn is_pending(&self) -> bool {
self.pending.load(Ordering::Relaxed) > 0
}
///
pub fn request(
&self,
params: BlameParams,
) -> Result<Option<FileBlame>> {
log::trace!("request");
let hash = hash(&params);
{
let mut current = self.current.lock()?;
if current.0 == hash {
return Ok(current.1.clone());
}
current.0 = hash;
current.1 = None;
}
let arc_current = Arc::clone(&self.current);
let arc_last = Arc::clone(&self.last);
let sender = self.sender.clone();
let arc_pending = Arc::clone(&self.pending);
let repo = self.repo.clone();
self.pending.fetch_add(1, Ordering::Relaxed);
rayon_core::spawn(move || {
let notify = Self::get_blame_helper(
&repo,
params,
&arc_last,
&arc_current,
hash,
);
let notify = match notify {
Err(err) => {
log::error!("get_blame_helper error: {err}");
true
}
Ok(notify) => notify,
};
arc_pending.fetch_sub(1, Ordering::Relaxed);
sender
.send(if notify {
AsyncGitNotification::Blame
} else {
AsyncGitNotification::FinishUnchanged
})
.expect("error sending blame");
});
Ok(None)
}
fn get_blame_helper(
repo_path: &RepoPath,
params: BlameParams,
arc_last: &Arc<
Mutex<Option<LastResult<BlameParams, FileBlame>>>,
>,
arc_current: &Arc<Mutex<Request<u64, FileBlame>>>,
hash: u64,
) -> Result<bool> {
let file_blame = sync::blame::blame_file(
repo_path,
&params.file_path,
params.commit_id,
)?;
let mut notify = false;
{
let mut current = arc_current.lock()?;
if current.0 == hash {
current.1 = Some(file_blame.clone());
notify = true;
}
}
{
let mut last = arc_last.lock()?;
*last = Some(LastResult {
result: file_blame,
params,
});
}
Ok(notify)
}
fn get_last_param(&self) -> Result<Option<BlameParams>> {
Ok(self
.last
.lock()?
.clone()
.map(|last_result| last_result.params))
}
fn clear_current(&self) -> Result<()> {
let mut current = self.current.lock()?;
current.0 = 0;
current.1 = None;
Ok(())
}
}

77
asyncgit/src/branches.rs Normal file
View file

@ -0,0 +1,77 @@
use crate::{
asyncjob::{AsyncJob, RunParams},
error::Result,
sync::{branch::get_branches_info, BranchInfo, RepoPath},
AsyncGitNotification,
};
use std::sync::{Arc, Mutex};
enum JobState {
Request {
local_branches: bool,
repo: RepoPath,
},
Response(Result<Vec<BranchInfo>>),
}
///
#[derive(Clone, Default)]
pub struct AsyncBranchesJob {
state: Arc<Mutex<Option<JobState>>>,
}
///
impl AsyncBranchesJob {
///
pub fn new(repo: RepoPath, local_branches: bool) -> Self {
Self {
state: Arc::new(Mutex::new(Some(JobState::Request {
repo,
local_branches,
}))),
}
}
///
pub fn result(&self) -> Option<Result<Vec<BranchInfo>>> {
if let Ok(mut state) = self.state.lock() {
if let Some(state) = state.take() {
return match state {
JobState::Request { .. } => None,
JobState::Response(result) => Some(result),
};
}
}
None
}
}
impl AsyncJob for AsyncBranchesJob {
type Notification = AsyncGitNotification;
type Progress = ();
fn run(
&mut self,
_params: RunParams<Self::Notification, Self::Progress>,
) -> Result<Self::Notification> {
if let Ok(mut state) = self.state.lock() {
*state = state.take().map(|state| match state {
JobState::Request {
local_branches,
repo,
} => {
let branches =
get_branches_info(&repo, local_branches);
JobState::Response(branches)
}
JobState::Response(result) => {
JobState::Response(result)
}
});
}
Ok(AsyncGitNotification::Branches)
}
}

View file

@ -0,0 +1,47 @@
use crate::{
error::Result,
sync::{self, branch::get_branch_name, RepoPathRef},
};
use sync::Head;
///
pub struct BranchName {
last_result: Option<(Head, String)>,
repo: RepoPathRef,
}
impl BranchName {
///
pub const fn new(repo: RepoPathRef) -> Self {
Self {
repo,
last_result: None,
}
}
///
pub fn lookup(&mut self) -> Result<String> {
let current_head = sync::get_head_tuple(&self.repo.borrow())?;
if let Some((last_head, branch_name)) =
self.last_result.as_ref()
{
if *last_head == current_head {
return Ok(branch_name.clone());
}
}
self.fetch(current_head)
}
///
pub fn last(&self) -> Option<String> {
self.last_result.as_ref().map(|last| last.1.clone())
}
fn fetch(&mut self, head: Head) -> Result<String> {
let name = get_branch_name(&self.repo.borrow())?;
self.last_result = Some((head, name.clone()));
Ok(name)
}
}

View file

@ -0,0 +1,7 @@
//! cached lookups:
//! parts of the sync api that might take longer
//! to compute but change seldom so doing them async might be overkill
mod branchname;
pub use branchname::BranchName;

View file

@ -1,101 +1,146 @@
use crate::{
error::Result, sync, AsyncNotification, StatusItem, CWD,
error::Result,
sync::{self, commit_files::OldNew, CommitId, RepoPath},
AsyncGitNotification, StatusItem,
};
use crossbeam_channel::Sender;
use std::sync::{
atomic::{AtomicUsize, Ordering},
Arc, Mutex,
atomic::{AtomicUsize, Ordering},
Arc, Mutex,
};
use sync::CommitId;
type ResultType = Vec<StatusItem>;
struct Request<R, A>(R, A);
///
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct CommitFilesParams {
///
pub id: CommitId,
///
pub other: Option<CommitId>,
}
impl From<CommitId> for CommitFilesParams {
fn from(id: CommitId) -> Self {
Self { id, other: None }
}
}
impl From<(CommitId, CommitId)> for CommitFilesParams {
fn from((id, other): (CommitId, CommitId)) -> Self {
Self {
id,
other: Some(other),
}
}
}
impl From<OldNew<CommitId>> for CommitFilesParams {
fn from(old_new: OldNew<CommitId>) -> Self {
Self {
id: old_new.new,
other: Some(old_new.old),
}
}
}
///
pub struct AsyncCommitFiles {
current: Arc<Mutex<Option<Request<CommitId, ResultType>>>>,
sender: Sender<AsyncNotification>,
pending: Arc<AtomicUsize>,
current:
Arc<Mutex<Option<Request<CommitFilesParams, ResultType>>>>,
sender: Sender<AsyncGitNotification>,
pending: Arc<AtomicUsize>,
repo: RepoPath,
}
impl AsyncCommitFiles {
///
pub fn new(sender: &Sender<AsyncNotification>) -> Self {
Self {
current: Arc::new(Mutex::new(None)),
sender: sender.clone(),
pending: Arc::new(AtomicUsize::new(0)),
}
}
///
pub fn new(
repo: RepoPath,
sender: &Sender<AsyncGitNotification>,
) -> Self {
Self {
repo,
current: Arc::new(Mutex::new(None)),
sender: sender.clone(),
pending: Arc::new(AtomicUsize::new(0)),
}
}
///
pub fn current(
&mut self,
) -> Result<Option<(CommitId, ResultType)>> {
let c = self.current.lock()?;
///
pub fn current(
&self,
) -> Result<Option<(CommitFilesParams, ResultType)>> {
let c = self.current.lock()?;
if let Some(c) = c.as_ref() {
Ok(Some((c.0, c.1.clone())))
} else {
Ok(None)
}
}
c.as_ref()
.map_or(Ok(None), |c| Ok(Some((c.0, c.1.clone()))))
}
///
pub fn is_pending(&self) -> bool {
self.pending.load(Ordering::Relaxed) > 0
}
///
pub fn is_pending(&self) -> bool {
self.pending.load(Ordering::Relaxed) > 0
}
///
pub fn fetch(&mut self, id: CommitId) -> Result<()> {
if self.is_pending() {
return Ok(());
}
///
pub fn fetch(&self, params: CommitFilesParams) -> Result<()> {
if self.is_pending() {
return Ok(());
}
log::trace!("request: {}", id.to_string());
log::trace!("request: {params:?}");
{
let current = self.current.lock()?;
if let Some(ref c) = *current {
if c.0 == id {
return Ok(());
}
}
}
{
let current = self.current.lock()?;
if let Some(c) = &*current {
if c.0 == params {
return Ok(());
}
}
}
let arc_current = Arc::clone(&self.current);
let sender = self.sender.clone();
let arc_pending = Arc::clone(&self.pending);
let arc_current = Arc::clone(&self.current);
let sender = self.sender.clone();
let arc_pending = Arc::clone(&self.pending);
let repo = self.repo.clone();
rayon_core::spawn(move || {
arc_pending.fetch_add(1, Ordering::Relaxed);
self.pending.fetch_add(1, Ordering::Relaxed);
Self::fetch_helper(id, arc_current)
.expect("failed to fetch");
rayon_core::spawn(move || {
Self::fetch_helper(&repo, params, &arc_current)
.expect("failed to fetch");
arc_pending.fetch_sub(1, Ordering::Relaxed);
arc_pending.fetch_sub(1, Ordering::Relaxed);
sender
.send(AsyncNotification::CommitFiles)
.expect("error sending");
});
sender
.send(AsyncGitNotification::CommitFiles)
.expect("error sending");
});
Ok(())
}
Ok(())
}
fn fetch_helper(
id: CommitId,
arc_current: Arc<
Mutex<Option<Request<CommitId, ResultType>>>,
>,
) -> Result<()> {
let res = sync::get_commit_files(CWD, id)?;
fn fetch_helper(
repo_path: &RepoPath,
params: CommitFilesParams,
arc_current: &Arc<
Mutex<Option<Request<CommitFilesParams, ResultType>>>,
>,
) -> Result<()> {
let res = sync::get_commit_files(
repo_path,
params.id,
params.other,
)?;
{
let mut last = arc_current.lock()?;
*last = Some(Request(id, res));
}
log::trace!("get_commit_files: {:?} ({})", params, res.len());
Ok(())
}
{
let mut current = arc_current.lock()?;
*current = Some(Request(params, res));
}
Ok(())
}
}

View file

@ -1,186 +1,221 @@
use crate::{
error::Result, hash, sync, AsyncNotification, FileDiff, CWD,
error::Result,
hash,
sync::{
self, commit_files::OldNew, diff::DiffOptions, CommitId,
RepoPath,
},
AsyncGitNotification, FileDiff,
};
use crossbeam_channel::Sender;
use std::{
hash::Hash,
sync::{
atomic::{AtomicUsize, Ordering},
Arc, Mutex,
},
hash::Hash,
sync::{
atomic::{AtomicUsize, Ordering},
Arc, Mutex,
},
};
use sync::CommitId;
///
#[derive(Hash, Clone, PartialEq)]
#[derive(Debug, Hash, Clone, PartialEq, Eq)]
pub enum DiffType {
/// diff in a given commit
Commit(CommitId),
/// diff against staged file
Stage,
/// diff against file in workdir
WorkDir,
/// diff two commits
Commits(OldNew<CommitId>),
/// diff in a given commit
Commit(CommitId),
/// diff against staged file
Stage,
/// diff against file in workdir
WorkDir,
}
///
#[derive(Hash, Clone, PartialEq)]
#[derive(Debug, Hash, Clone, PartialEq, Eq)]
pub struct DiffParams {
/// path to the file to diff
pub path: String,
/// what kind of diff
pub diff_type: DiffType,
/// path to the file to diff
pub path: String,
/// what kind of diff
pub diff_type: DiffType,
/// diff options
pub options: DiffOptions,
}
struct Request<R, A>(R, Option<A>);
#[derive(Default, Clone)]
struct LastResult<P, R> {
params: P,
hash: u64,
result: R,
params: P,
result: R,
}
///
pub struct AsyncDiff {
current: Arc<Mutex<Request<u64, FileDiff>>>,
last: Arc<Mutex<Option<LastResult<DiffParams, FileDiff>>>>,
sender: Sender<AsyncNotification>,
pending: Arc<AtomicUsize>,
current: Arc<Mutex<Request<u64, FileDiff>>>,
last: Arc<Mutex<Option<LastResult<DiffParams, FileDiff>>>>,
sender: Sender<AsyncGitNotification>,
pending: Arc<AtomicUsize>,
repo: RepoPath,
}
impl AsyncDiff {
///
pub fn new(sender: Sender<AsyncNotification>) -> Self {
Self {
current: Arc::new(Mutex::new(Request(0, None))),
last: Arc::new(Mutex::new(None)),
sender,
pending: Arc::new(AtomicUsize::new(0)),
}
}
///
pub fn new(
repo: RepoPath,
sender: &Sender<AsyncGitNotification>,
) -> Self {
Self {
repo,
current: Arc::new(Mutex::new(Request(0, None))),
last: Arc::new(Mutex::new(None)),
sender: sender.clone(),
pending: Arc::new(AtomicUsize::new(0)),
}
}
///
pub fn last(&mut self) -> Result<Option<(DiffParams, FileDiff)>> {
let last = self.last.lock()?;
///
pub fn last(&self) -> Result<Option<(DiffParams, FileDiff)>> {
let last = self.last.lock()?;
Ok(match last.clone() {
Some(res) => Some((res.params, res.result)),
None => None,
})
}
Ok(last.clone().map(|res| (res.params, res.result)))
}
///
pub fn refresh(&mut self) -> Result<()> {
if let Ok(Some(param)) = self.get_last_param() {
self.clear_current()?;
self.request(param)?;
}
Ok(())
}
///
pub fn refresh(&self) -> Result<()> {
if let Ok(Some(param)) = self.get_last_param() {
self.clear_current()?;
self.request(param)?;
}
Ok(())
}
///
pub fn is_pending(&self) -> bool {
self.pending.load(Ordering::Relaxed) > 0
}
///
pub fn is_pending(&self) -> bool {
self.pending.load(Ordering::Relaxed) > 0
}
///
pub fn request(
&mut self,
params: DiffParams,
) -> Result<Option<FileDiff>> {
log::trace!("request");
///
pub fn request(
&self,
params: DiffParams,
) -> Result<Option<FileDiff>> {
log::trace!("request {params:?}");
let hash = hash(&params);
let hash = hash(&params);
{
let mut current = self.current.lock()?;
{
let mut current = self.current.lock()?;
if current.0 == hash {
return Ok(current.1.clone());
}
if current.0 == hash {
return Ok(current.1.clone());
}
current.0 = hash;
current.1 = None;
}
current.0 = hash;
current.1 = None;
}
let arc_current = Arc::clone(&self.current);
let arc_last = Arc::clone(&self.last);
let sender = self.sender.clone();
let arc_pending = Arc::clone(&self.pending);
rayon_core::spawn(move || {
arc_pending.fetch_add(1, Ordering::Relaxed);
let arc_current = Arc::clone(&self.current);
let arc_last = Arc::clone(&self.last);
let sender = self.sender.clone();
let arc_pending = Arc::clone(&self.pending);
let repo = self.repo.clone();
let notify = AsyncDiff::get_diff_helper(
params,
arc_last,
arc_current,
hash,
)
.expect("error getting diff");
self.pending.fetch_add(1, Ordering::Relaxed);
arc_pending.fetch_sub(1, Ordering::Relaxed);
rayon_core::spawn(move || {
let notify = Self::get_diff_helper(
&repo,
params,
&arc_last,
&arc_current,
hash,
);
if notify {
sender
.send(AsyncNotification::Diff)
.expect("error sending diff");
}
});
let notify = match notify {
Err(e) => {
log::error!("get_diff_helper error: {e}");
true
}
Ok(notify) => notify,
};
Ok(None)
}
arc_pending.fetch_sub(1, Ordering::Relaxed);
fn get_diff_helper(
params: DiffParams,
arc_last: Arc<
Mutex<Option<LastResult<DiffParams, FileDiff>>>,
>,
arc_current: Arc<Mutex<Request<u64, FileDiff>>>,
hash: u64,
) -> Result<bool> {
let res = match params.diff_type {
DiffType::Stage => {
sync::diff::get_diff(CWD, params.path.clone(), true)?
}
DiffType::WorkDir => {
sync::diff::get_diff(CWD, params.path.clone(), false)?
}
DiffType::Commit(id) => sync::diff::get_diff_commit(
CWD,
id,
params.path.clone(),
)?,
};
sender
.send(if notify {
AsyncGitNotification::Diff
} else {
AsyncGitNotification::FinishUnchanged
})
.expect("error sending diff");
});
let mut notify = false;
{
let mut current = arc_current.lock()?;
if current.0 == hash {
current.1 = Some(res.clone());
notify = true;
}
}
Ok(None)
}
{
let mut last = arc_last.lock()?;
*last = Some(LastResult {
result: res,
hash,
params,
});
}
fn get_diff_helper(
repo_path: &RepoPath,
params: DiffParams,
arc_last: &Arc<
Mutex<Option<LastResult<DiffParams, FileDiff>>>,
>,
arc_current: &Arc<Mutex<Request<u64, FileDiff>>>,
hash: u64,
) -> Result<bool> {
let res = match params.diff_type {
DiffType::Stage => sync::diff::get_diff(
repo_path,
&params.path,
true,
Some(params.options),
)?,
DiffType::WorkDir => sync::diff::get_diff(
repo_path,
&params.path,
false,
Some(params.options),
)?,
DiffType::Commit(id) => sync::diff::get_diff_commit(
repo_path,
id,
params.path.clone(),
Some(params.options),
)?,
DiffType::Commits(ids) => sync::diff::get_diff_commits(
repo_path,
ids,
params.path.clone(),
Some(params.options),
)?,
};
Ok(notify)
}
let mut notify = false;
{
let mut current = arc_current.lock()?;
if current.0 == hash {
current.1 = Some(res.clone());
notify = true;
}
}
fn get_last_param(&self) -> Result<Option<DiffParams>> {
Ok(self.last.lock()?.clone().map(|e| e.params))
}
{
let mut last = arc_last.lock()?;
*last = Some(LastResult {
result: res,
params,
});
}
fn clear_current(&mut self) -> Result<()> {
let mut current = self.current.lock()?;
current.0 = 0;
current.1 = None;
Ok(())
}
Ok(notify)
}
fn get_last_param(&self) -> Result<Option<DiffParams>> {
Ok(self.last.lock()?.clone().map(|e| e.params))
}
fn clear_current(&self) -> Result<()> {
let mut current = self.current.lock()?;
current.0 = 0;
current.1 = None;
Ok(())
}
}

View file

@ -1,24 +1,350 @@
use std::{
num::TryFromIntError, path::StripPrefixError,
string::FromUtf8Error,
};
use thiserror::Error;
///
#[derive(Error, Debug)]
pub enum Error {
#[error("`{0}`")]
Generic(String),
pub enum GixError {
///
#[error("gix::discover error: {0}")]
Discover(#[from] Box<gix::discover::Error>),
#[error("git: no head found")]
NoHead,
///
#[error("gix::head::peel::to_commit error: {0}")]
HeadPeelToCommit(#[from] gix::head::peel::to_commit::Error),
#[error("io error:{0}")]
Io(#[from] std::io::Error),
///
#[error("gix::object::find::existing::with_conversion::Error error: {0}")]
ObjectFindExistingWithConversion(
#[from] gix::object::find::existing::with_conversion::Error,
),
#[error("git error:{0}")]
Git(#[from] git2::Error),
///
#[error("gix::objs::decode::Error error: {0}")]
ObjsDecode(#[from] gix::objs::decode::Error),
///
#[error("gix::pathspec::init::Error error: {0}")]
PathspecInit(#[from] Box<gix::pathspec::init::Error>),
///
#[error("gix::reference::find::existing error: {0}")]
ReferenceFindExisting(
#[from] gix::reference::find::existing::Error,
),
///
#[error("gix::reference::head_tree_id::Error error: {0}")]
ReferenceHeadTreeId(#[from] gix::reference::head_tree_id::Error),
///
#[error("gix::reference::iter::Error error: {0}")]
ReferenceIter(#[from] gix::reference::iter::Error),
///
#[error("gix::reference::iter::init::Error error: {0}")]
ReferenceIterInit(#[from] gix::reference::iter::init::Error),
///
#[error("gix::revision::walk error: {0}")]
RevisionWalk(#[from] gix::revision::walk::Error),
///
#[error("gix::status::Error error: {0}")]
Status(#[from] Box<gix::status::Error>),
///
#[error("gix::status::index_worktree::Error error: {0}")]
StatusIndexWorktree(
#[from] Box<gix::status::index_worktree::Error>,
),
///
#[error("gix::status::into_iter::Error error: {0}")]
StatusIntoIter(#[from] Box<gix::status::into_iter::Error>),
///
#[error("gix::status::iter::Error error: {0}")]
StatusIter(#[from] Box<gix::status::iter::Error>),
///
#[error("gix::status::tree_index::Error error: {0}")]
StatusTreeIndex(#[from] Box<gix::status::tree_index::Error>),
///
#[error("gix::worktree::open_index::Error error: {0}")]
WorktreeOpenIndex(#[from] Box<gix::worktree::open_index::Error>),
}
///
#[derive(Error, Debug)]
pub enum Error {
///
#[error("`{0}`")]
Generic(String),
///
#[error("git: no head found")]
NoHead,
///
#[error("git: conflict during rebase")]
RebaseConflict,
///
#[error("git: remote url not found")]
UnknownRemote,
///
#[error("git: inconclusive remotes")]
NoDefaultRemoteFound,
///
#[error("git: work dir error")]
NoWorkDir,
///
#[error("git: uncommitted changes")]
UncommittedChanges,
///
#[error("git: can\u{2019}t run blame on a binary file")]
NoBlameOnBinaryFile,
///
#[error("binary file")]
BinaryFile,
///
#[error("io error:{0}")]
Io(#[from] std::io::Error),
///
#[error("git error:{0}")]
Git(#[from] git2::Error),
///
#[error("git config error: {0}")]
GitConfig(String),
///
#[error("strip prefix error: {0}")]
StripPrefix(#[from] StripPrefixError),
///
#[error("utf8 error:{0}")]
Utf8Conversion(#[from] FromUtf8Error),
///
#[error("TryFromInt error:{0}")]
IntConversion(#[from] TryFromIntError),
///
#[error("EasyCast error:{0}")]
EasyCast(#[from] easy_cast::Error),
///
#[error("no parent of commit found")]
NoParent,
///
#[error("not on a branch")]
NoBranch,
///
#[error("rayon error: {0}")]
ThreadPool(#[from] rayon_core::ThreadPoolBuildError),
///
#[error("git hook error: {0}")]
Hooks(#[from] git2_hooks::HooksError),
///
#[error("sign builder error: {0}")]
SignBuilder(#[from] crate::sync::sign::SignBuilderError),
///
#[error("sign error: {0}")]
Sign(#[from] crate::sync::sign::SignError),
///
#[error("gix error:{0}")]
Gix(#[from] GixError),
///
#[error("amend error: config commit.gpgsign=true detected.\ngpg signing is not supported for amending non-last commits")]
SignAmendNonLastCommit,
///
#[error("reword error: config commit.gpgsign=true detected.\ngpg signing is not supported for rewording non-last commits")]
SignRewordNonLastCommit,
///
#[error("reword error: config commit.gpgsign=true detected.\ngpg signing is not supported for rewording commits with staged changes\ntry unstaging or stashing your changes")]
SignRewordLastCommitStaged,
}
///
pub type Result<T> = std::result::Result<T, Error>;
impl<T> From<std::sync::PoisonError<T>> for Error {
fn from(error: std::sync::PoisonError<T>) -> Self {
Error::Generic(format!("poison error: {}", error))
}
fn from(error: std::sync::PoisonError<T>) -> Self {
Self::Generic(format!("poison error: {error}"))
}
}
impl<T> From<crossbeam_channel::SendError<T>> for Error {
fn from(error: crossbeam_channel::SendError<T>) -> Self {
Self::Generic(format!("send error: {error}"))
}
}
impl From<gix::discover::Error> for GixError {
fn from(error: gix::discover::Error) -> Self {
Self::Discover(Box::new(error))
}
}
impl From<gix::discover::Error> for Error {
fn from(error: gix::discover::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::head::peel::to_commit::Error> for Error {
fn from(error: gix::head::peel::to_commit::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::object::find::existing::with_conversion::Error>
for Error
{
fn from(
error: gix::object::find::existing::with_conversion::Error,
) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::objs::decode::Error> for Error {
fn from(error: gix::objs::decode::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::pathspec::init::Error> for GixError {
fn from(error: gix::pathspec::init::Error) -> Self {
Self::PathspecInit(Box::new(error))
}
}
impl From<gix::pathspec::init::Error> for Error {
fn from(error: gix::pathspec::init::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::reference::find::existing::Error> for Error {
fn from(error: gix::reference::find::existing::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::reference::head_tree_id::Error> for Error {
fn from(error: gix::reference::head_tree_id::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::reference::iter::Error> for Error {
fn from(error: gix::reference::iter::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::reference::iter::init::Error> for Error {
fn from(error: gix::reference::iter::init::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::revision::walk::Error> for Error {
fn from(error: gix::revision::walk::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::status::Error> for GixError {
fn from(error: gix::status::Error) -> Self {
Self::Status(Box::new(error))
}
}
impl From<gix::status::Error> for Error {
fn from(error: gix::status::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::status::iter::Error> for GixError {
fn from(error: gix::status::iter::Error) -> Self {
Self::StatusIter(Box::new(error))
}
}
impl From<gix::status::iter::Error> for Error {
fn from(error: gix::status::iter::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::status::into_iter::Error> for GixError {
fn from(error: gix::status::into_iter::Error) -> Self {
Self::StatusIntoIter(Box::new(error))
}
}
impl From<gix::status::into_iter::Error> for Error {
fn from(error: gix::status::into_iter::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::status::index_worktree::Error> for GixError {
fn from(error: gix::status::index_worktree::Error) -> Self {
Self::StatusIndexWorktree(Box::new(error))
}
}
impl From<gix::status::index_worktree::Error> for Error {
fn from(error: gix::status::index_worktree::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::status::tree_index::Error> for GixError {
fn from(error: gix::status::tree_index::Error) -> Self {
Self::StatusTreeIndex(Box::new(error))
}
}
impl From<gix::status::tree_index::Error> for Error {
fn from(error: gix::status::tree_index::Error) -> Self {
Self::Gix(GixError::from(error))
}
}
impl From<gix::worktree::open_index::Error> for GixError {
fn from(error: gix::worktree::open_index::Error) -> Self {
Self::WorktreeOpenIndex(Box::new(error))
}
}
impl From<gix::worktree::open_index::Error> for Error {
fn from(error: gix::worktree::open_index::Error) -> Self {
Self::Gix(GixError::from(error))
}
}

69
asyncgit/src/fetch_job.rs Normal file
View file

@ -0,0 +1,69 @@
//!
use crate::{
asyncjob::{AsyncJob, RunParams},
error::Result,
sync::remotes::fetch_all,
sync::{cred::BasicAuthCredential, RepoPath},
AsyncGitNotification, ProgressPercent,
};
use std::sync::{Arc, Mutex};
enum JobState {
Request(Option<BasicAuthCredential>),
Response(Result<()>),
}
///
#[derive(Clone)]
pub struct AsyncFetchJob {
state: Arc<Mutex<Option<JobState>>>,
repo: RepoPath,
}
///
impl AsyncFetchJob {
///
pub fn new(
repo: RepoPath,
basic_credential: Option<BasicAuthCredential>,
) -> Self {
Self {
repo,
state: Arc::new(Mutex::new(Some(JobState::Request(
basic_credential,
)))),
}
}
}
impl AsyncJob for AsyncFetchJob {
type Notification = AsyncGitNotification;
type Progress = ProgressPercent;
fn run(
&mut self,
_params: RunParams<Self::Notification, Self::Progress>,
) -> Result<Self::Notification> {
if let Ok(mut state) = self.state.lock() {
*state = state.take().map(|state| match state {
JobState::Request(basic_credentials) => {
//TODO: support progress
let result = fetch_all(
&self.repo,
&basic_credentials,
&None,
);
JobState::Response(result)
}
JobState::Response(result) => {
JobState::Response(result)
}
});
}
Ok(AsyncGitNotification::Fetch)
}
}

View file

@ -0,0 +1,200 @@
use rayon::{
prelude::ParallelIterator,
slice::{ParallelSlice, ParallelSliceMut},
};
use crate::{
asyncjob::{AsyncJob, RunParams},
error::Result,
sync::{self, CommitId, RepoPath, SharedCommitFilterFn},
AsyncGitNotification, ProgressPercent,
};
use std::{
sync::{
atomic::{AtomicBool, AtomicUsize, Ordering},
Arc, Mutex,
},
time::{Duration, Instant},
};
///
pub struct CommitFilterResult {
///
pub result: Vec<CommitId>,
///
pub duration: Duration,
}
enum JobState {
Request {
commits: Vec<CommitId>,
repo_path: RepoPath,
},
Response(Result<CommitFilterResult>),
}
///
#[derive(Clone)]
pub struct AsyncCommitFilterJob {
state: Arc<Mutex<Option<JobState>>>,
filter: SharedCommitFilterFn,
cancellation_flag: Arc<AtomicBool>,
}
///
impl AsyncCommitFilterJob {
///
pub fn new(
repo_path: RepoPath,
commits: Vec<CommitId>,
filter: SharedCommitFilterFn,
cancellation_flag: Arc<AtomicBool>,
) -> Self {
Self {
state: Arc::new(Mutex::new(Some(JobState::Request {
repo_path,
commits,
}))),
filter,
cancellation_flag,
}
}
///
pub fn result(&self) -> Option<Result<CommitFilterResult>> {
if let Ok(mut state) = self.state.lock() {
if let Some(state) = state.take() {
return match state {
JobState::Request { .. } => None,
JobState::Response(result) => Some(result),
};
}
}
None
}
fn run_request(
&self,
repo_path: &RepoPath,
commits: Vec<CommitId>,
params: &RunParams<AsyncGitNotification, ProgressPercent>,
) -> JobState {
let result = self
.filter_commits(repo_path, commits, params)
.map(|(start, result)| CommitFilterResult {
result,
duration: start.elapsed(),
});
JobState::Response(result)
}
fn filter_commits(
&self,
repo_path: &RepoPath,
commits: Vec<CommitId>,
params: &RunParams<AsyncGitNotification, ProgressPercent>,
) -> Result<(Instant, Vec<CommitId>)> {
scopetime::scope_time!("filter_commits");
let total_amount = commits.len();
let start = Instant::now();
//note: for some reason >4 threads degrades search performance
let pool =
rayon::ThreadPoolBuilder::new().num_threads(4).build()?;
let idx = AtomicUsize::new(0);
let mut result = pool.install(|| {
commits
.into_iter()
.enumerate()
.collect::<Vec<(usize, CommitId)>>()
.par_chunks(1000)
.filter_map(|c| {
//TODO: error log repo open errors
sync::repo(repo_path).ok().map(|repo| {
c.iter()
.filter_map(|(e, c)| {
let idx = idx.fetch_add(
1,
std::sync::atomic::Ordering::Relaxed,
);
if self
.cancellation_flag
.load(Ordering::Relaxed)
{
return None;
}
Self::update_progress(
params,
ProgressPercent::new(
idx,
total_amount,
),
);
(*self.filter)(&repo, c)
.ok()
.and_then(|res| {
res.then_some((*e, *c))
})
})
.collect::<Vec<_>>()
})
})
.flatten()
.collect::<Vec<_>>()
});
result.par_sort_by(|a, b| a.0.cmp(&b.0));
let result = result.into_iter().map(|c| c.1).collect();
Ok((start, result))
}
fn update_progress(
params: &RunParams<AsyncGitNotification, ProgressPercent>,
new_progress: ProgressPercent,
) {
match params.set_progress(new_progress) {
Err(e) => log::error!("progress error: {e}"),
Ok(result) if result => {
if let Err(e) =
params.send(AsyncGitNotification::CommitFilter)
{
log::error!("send error: {e}");
}
}
_ => (),
}
}
}
impl AsyncJob for AsyncCommitFilterJob {
type Notification = AsyncGitNotification;
type Progress = ProgressPercent;
fn run(
&mut self,
params: RunParams<Self::Notification, Self::Progress>,
) -> Result<Self::Notification> {
if let Ok(mut state) = self.state.lock() {
*state = state.take().map(|state| match state {
JobState::Request { commits, repo_path } => {
self.run_request(&repo_path, commits, &params)
}
JobState::Response(result) => {
JobState::Response(result)
}
});
}
Ok(AsyncGitNotification::CommitFilter)
}
}

Some files were not shown because too many files have changed in this diff Show more