Stephan Dilly
de80601bf4
Push progress
...
closes #267
2020-09-06 17:48:14 +02:00
Stephan Dilly
17de5a900c
Test push progress ( #272 )
2020-09-04 09:08:29 +02:00
Stephan Dilly
56959e6596
do not highlight selection in diff when not focused ( closes #270 )
2020-09-02 11:11:17 +02:00
Stephan Dilly
7d1e3643b1
support push to origin ( #266 )
...
* use vendored ssl
2020-09-02 02:08:41 +02:00
Stephan Dilly
e5c38e8d4a
revert clipboard feature on linux to fix static linux binary build ( #261 )
2020-09-01 01:36:38 +02:00
Stephan Dilly
4907e8b727
new 'create branch' popup ( #254 )
...
closes #253
2020-08-29 14:15:06 +02:00
Stephan Dilly
7da34eb3e4
switch more missing places to use new keyconfig
2020-08-29 12:43:32 +02:00
Stephan Dilly
19177ec9bb
simplify key bindings further
2020-08-29 00:24:34 +02:00
Stephan Dilly
5445594018
fix amend due to blind clippy warning refactoring ( closes #250 )
2020-08-28 23:57:06 +02:00
Stephan Dilly
40e9194b5d
fix wrong hunk highlighting after arrow-down at end of diff ( closes #249 )
2020-08-28 18:53:01 +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
425963ca58
Scrollbar in diff ( #251 )
...
closes #204
2020-08-28 18:19:44 +02:00
Stephan Dilly
2401293b66
Rust1.46 and nightly ci ( #246 )
2020-08-28 10:52:24 +02:00
Stephan Dilly
80da95b6f5
cleanup commit message line encodings to fix rendering commit msg ( closes #245 )
2020-08-27 01:10:38 +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
Christoph Rüßler
1a90fd365f
Add scrolling to commit message in details
...
- Manually wrap commit message using `textwrap`
Closes #181
2020-08-08 19:42:02 +02:00
Stephan Dilly
0e81f062da
fix slection error after deleting last element in stash ( closes #223 )
2020-08-08 09:24:23 +02:00
Jon Grythe Stødle
8db6325777
Add support for spaces in file path
...
If the file path contained a space, the editor would be launched with an incomplete file path.
This also switches to using `OsStr` for the file path, which means that if the file name contains invalid UTF-8, it will not blow up because of gitui.
2020-07-29 21:10:45 +02:00
Stephan Dilly
f45af0e3cf
fix multiple tags not being seperated in details view ( fixes #212 )
2020-07-22 10:37:47 +02:00
Stephan Dilly
7e8df3ad28
simplify pending state by using the new one
2020-07-18 13:35:24 +02:00
Stephan Dilly
03cf23ad98
visualize pending load on status file list ( closes #160 )
2020-07-18 12:44:23 +02:00
Stephan Dilly
a54fbf7f63
visualize pending load of a diff ( #160 )
2020-07-18 12:21:18 +02:00
Stephan Dilly
0dd50b402e
upgrade to rust 1.45 and fix new clippy warnings
2020-07-17 11:54:12 +02:00
Christoph Rüßler
70423c5b83
Add command for tagging commit
2020-07-15 23:22:03 +02:00
Stephan Dilly
18f3bd981d
min rect size for commit popup ( fixes #179 )
2020-07-14 09:42:55 +02:00
Stephan Dilly
1afa91b144
show tags in commit details popup ( closes #193 )
2020-07-12 14:38:38 +02:00
Stephan Dilly
f4e2b7c6c0
update changes title right away
2020-07-12 14:38:18 +02:00
Stephan Dilly
315cf615e0
Async tag fetching ( #195 )
2020-07-12 13:21:34 +02:00
Stephan Dilly
cbd75110b7
add error handling on potential error in ignore ( #191 )
2020-07-10 09:08:36 +02:00
Stephan Dilly
4f731f6acc
fix opening relative paths in external edtiro ( closes #184 )
2020-07-09 17:47:38 +02:00
Stephan Dilly
540997c177
error if file to be opened in external editor will not be found ( #184 )
2020-07-08 19:47:25 +02:00
Stephan Dilly
a11713ee18
docs
2020-07-07 13:02:41 +02:00
Stephan Dilly
1cd74ad02e
fix messing up users terminal after opening file in vi (related to #173 )
2020-07-07 12:53:17 +02:00
Jon Grythe Stødle
52f31adb98
Add command to edit selected file in editor
...
Pressing `e` while looking at a file in the _Status_ view will launch an external editor with the current file opened. The editor chosen is determined by the default logic introduced in #114 .
An improvement to this in the future could be launching at the specific line at which the _Diff_ view is focused, but that seems to require a change in `FileDiff` which is a change bigger than this PR.
Fixes #166
2020-07-07 12:42:01 +02:00
Stephan Dilly
b9ec27d89c
fix newline visualization in commit msg editor ( closes #169 )
2020-07-07 12:33:32 +02:00
Stephan Dilly
de7f48f88e
show placeholder popup when waiting for external editor #157
2020-07-04 20:22:55 +02:00
Stephan Dilly
a33db8d3de
cache branchname lookup ( closes #159 )
2020-07-04 18:12:54 +02:00
Stephan Dilly
bfda870933
fix panic when cursor is OOB after closing editor with shorter msg
2020-07-04 15:44:24 +02:00
Stephan Dilly
313f5586b0
todo
2020-07-04 15:38:46 +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
Stephan Dilly
c784c9e9b3
safety first
2020-06-30 09:49:27 +02:00
Agung Baptiso Sorlawan
3ec47ced67
Fix scrolling issues in staged/unstaged section ( fixes #144 ) ( #162 )
2020-06-30 09:45:18 +02:00
Stephan
4a442f3829
cleanup use
2020-06-29 12:30:10 +02:00
Stephan
ce4f3af767
leave alternate screen when going into external editor ( fixes #152 )
2020-06-29 10:27:16 +02:00
Stephan Dilly
c856c23aef
remove outdated commit method
2020-06-29 09:46:38 +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
8627d940f4
steamline some more command functions
2020-06-25 19:05:59 +02:00
Stephan Dilly
df338334e1
2% optimisation in revlog where amend was still run on each event
2020-06-25 18:35:16 +02:00