Commit graph

56 commits

Author SHA1 Message Date
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
Stephan Dilly
c44966c1a9 cleanup 2020-05-12 14:05:38 +02:00
Stephan Dilly
70e5201956 allow all draw calls to mutate self 2020-05-12 13:22:55 +02:00
Stephan Dilly
061ad37dce support end button in file tree (#43) 2020-05-10 22:14:02 +02:00
Stephan Dilly
e8204d5a6d clippy fixes 2020-05-10 13:19:40 +02:00
Stephan Dilly
5fc8d72ed6 fix home/end buttons on diff and add home button on file list (#43) 2020-05-10 13:12:06 +02:00
Stephan Dilly
13979c1013 revert workaround (fixes #26) 2020-05-09 13:04:29 +02:00
Stephan Dilly
4df7704ef5 clippy fixes 2020-05-02 16:58:13 +02:00
Stephan Dilly
aa830963d4 file status indication and color for rename 2020-05-02 11:59:14 +02:00
Stephan Dilly
1ca04496cb Add folder actions unstage/stage/reset 2020-04-28 15:43:11 +02:00
Stephan Dilly
b0fdf5049c
Switch to a tree view for changed files list (#37) 2020-04-28 11:15:05 +02:00
Stephan Dilly
72a1f94483 workaround crossterm bug: https://github.com/crossterm-rs/crossterm/issues/421 2020-04-21 18:02:27 +02:00
Stephan Dilly
258d1311cd cleanup 2020-04-18 22:58:39 +02:00
Stephan Dilly
73c650174f fix staging removed files (fixes #24) 2020-04-18 11:25:03 +02:00
Stephan Dilly
6bcdee4d63 more clean update messaging 2020-04-13 01:22:09 +02:00
Stephan Dilly
936e965c17 fix: dont allow open revert dlg on [D] press while on staged file 2020-04-08 00:23:12 +02:00
Stephan Dilly
923f7a46d6 confirm destive command: reset file 2020-04-03 23:16:49 +02:00
Stephan Dilly
0a91b749dd fix clippy 2020-04-03 22:18:20 +02:00
Stephan Dilly
ef4d3f7b56 introduce queue to get rid of event() return type 2020-04-03 17:52:41 +02:00
Stephan Dilly
176f2ee2fa naming 2020-04-03 17:09:59 +02:00
Stephan Dilly
6001593a0a rename 2020-04-03 16:26:05 +02:00
Stephan Dilly
2282305e7c switch to new command texts 2020-04-03 16:24:52 +02:00
Stephan Dilly
ed5668c4c8 cmd help grouping and long desc 2020-04-03 14:48:41 +02:00
Stephan Dilly
bc85a86000 pedantic clippy 2020-04-02 23:45:50 +02:00