Stephan Dilly
4cebb41cf4
Fix 682 smarter times in log ( #683 )
2021-05-06 14:11:15 +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
Stephan Dilly
fb37cec2f0
fix branchlist scrollbr
2021-04-27 15:03:43 +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
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
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
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
Christoph Rüßler
8030022303
Address minor issues in blame view
2021-04-22 09:17:42 +02:00
Christoph Rüßler
b7eed4361e
Add blame view
...
This closes #484 .
2021-04-21 15:03:37 +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
f7a17fa3bb
fix empty branch list enter key still accepted and panics
2021-04-14 22:08:36 +02:00
Stephan Dilly
b0b37a84e4
cleanup cargo deplyment
2021-04-11 23:06:39 +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
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
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
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
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
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
a2ca58a3f6
use branches upstream remote if it is already tracked ( #598 )
...
closes #597
2021-03-20 18:47:53 +01:00
Stephan Dilly
f69ab5e719
fix nightly clippy
2021-03-15 11:11:20 +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
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
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
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
6e5db96c19
support discard selected lines ( #571 )
2021-03-08 18:00:30 +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
51c9085d7c
user confirm merge ( #565 )
2021-03-03 22:06:41 +01:00
Stephan Dilly
36c124f9e3
refresh compare state at the right time ( #564 )
2021-03-03 18:40:00 +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
Stephan Dilly
4126de0ec7
rename
2021-03-01 14:36:09 +01:00