Commit Graph

1325 Commits

Author SHA1 Message Date
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