Commit Graph

1204 Commits

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