Commit Graph
1195 Commits
Author SHA1 Message Date
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 v0.15.0 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] <[email protected]>
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] <[email protected]>
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 v0.14.0 2021-04-11 23:06:39 +02:00