Commit graph

79 commits

Author SHA1 Message Date
extrawurst
16a537c102
Persist all options (#1342)
closes #1340
2022-09-20 08:23:04 +02:00
extrawurst
9534e4c2f9
persist current tab as options (#1339) 2022-09-18 18:05:29 +02:00
extrawurst
8e54bfd364 upgrade crossterm/tui 2022-08-17 22:12:39 +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
Gleb Davydov
5f466ff983
Change diff renamed files (#1040) 2022-04-24 19:25:50 +02:00
Stephan D
2a578889f3
switch focus to index after staging last file (#1170) 2022-03-10 00:50:37 +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
006cdd6373
support bare repos (#1028) 2021-12-05 00:35:45 +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
3db1a68515
allow config for key symbols (#997)
closes #465
2021-11-20 18:44:04 +01:00
Stephan Dilly
389bd75d46 honor options in stage_all command (see #933) 2021-10-23 15:34:49 +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
Stephan Dilly
e4c7867564
allow rebase with conflicts (#897) 2021-09-29 18:55:47 +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
7058ab14d3 abstract queue into custom type 2021-06-07 22:57:27 +02:00
Stephan Dilly
5b07c48234 nightly clippy fixes 2021-06-05 10:28:18 +02:00
Stephan Dilly
8ddb3cdac5 move focus after last file staged 2021-05-16 22:05:22 +02:00
Stephan Dilly
9e3d494dbb wording 2021-05-12 15:37:49 +02:00
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum (#666) 2021-04-26 11:33:45 +02:00
Stephan Dilly
6fcbb99faf fix clippy on nightly 2020-12-22 10:17:14 +01:00
remique
35f3a25cba
Add branch name in Status and ChangesComponent cleanup (#375) 2020-10-26 16:21:26 +01:00
Stephan Dilly
7d1e3643b1
support push to origin (#266)
* use  vendored ssl
2020-09-02 02:08:41 +02:00
Stephan Dilly
19177ec9bb simplify key bindings further 2020-08-29 00:24:34 +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
1a5a121b33 small cleanups 2020-08-26 18:53:50 +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
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
f4e2b7c6c0 update changes title right away 2020-07-12 14:38:18 +02:00
Stephan Dilly
cbd75110b7 add error handling on potential error in ignore (#191) 2020-07-10 09:08:36 +02:00
Stephan Dilly
a33db8d3de cache branchname lookup (closes #159) 2020-07-04 18:12:54 +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
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
0d84abd1c6 make draw take shared ref again 2020-06-23 11:03:02 +02:00
Stephan Dilly
b899751c2b share theme instead of copying it all over the place 2020-06-22 12:21:21 +02:00
Stephan Dilly
63e449fca9 indicate what branch we are on (closes #115) 2020-06-12 22:37:53 +02:00
Stephan Dilly
702415c40d
full commit detail popup (#113)
see #80
2020-06-09 13:30:17 +02:00
Stephan Dilly
5bfdb40a14
commit details in log (#107) 2020-06-06 19:24:48 +02:00
Stephan Dilly
bec1fb939a show error instead of app close when staging fails (#108)
update changelog
2020-06-04 00:02:32 +02:00
Stephan Dilly
dbd7dd33ea support Stage all/Unstage all (closes #82) 2020-06-02 16:01:54 +02:00
Stephan Dilly
14a93cbefd support adding file/folder to gitignore (closes #44) 2020-06-01 23:32:11 +02:00
Stephan Dilly
63d3bf5661 Support stash-apply,stash-drop 2020-05-25 16:16:49 +02:00
Mehran Kordi
4c17660956
anyhow integration (closes #77) 2020-05-23 17:12:38 +02:00
Stephan Dilly
3c5e86eee9
stashing support (#70) 2020-05-21 15:46:38 +02:00
Stephan Dilly
1c03458de7 merge uses 2020-05-19 23:11:28 +02:00
Stephan Dilly
5f8c333a24 pass theme as ref where possible 2020-05-19 20:38:56 +02:00
Mehran Kordi
4ec1a4e94b
Implement color themes #65 (closes #28) 2020-05-19 20:19:30 +02:00
Stephan Dilly
f8294dcb7b cleanup some result return types 2020-05-15 18:23:07 +02:00
Mehran Kordi
03505b9eb6
Replace unwrap calls in asyncgit with error handling - closes #53 2020-05-15 15:15:26 +02:00