extrawurst
904885e001
tui -> ratatui
...
tui is not maintained anymore and it seems that ratatui is the successor: https://github.com/fdehau/tui-rs/issues/654
2023-04-19 14:46:09 +02:00
extrawurst
9d83ce358e
Reword commit ( #1553 )
...
* reuse commit popup for reword
* switch to status after reword
* show command
* prepopulate with old msg
* changelog
Closes #829
2023-02-18 20:47:24 +00:00
extrawurst
b8a436fdeb
clippy fix
2023-01-13 14:13:40 +01:00
Dave
5ca712ff80
Add no-verify commit command ( #1375 )
...
* add no-verify option on commit action
* make verify a bool flag on commit component
2023-01-13 14:05:51 +01:00
extrawurst
289eddd9be
fix nightly clippy
2022-12-10 11:27:59 +01:00
extrawurst
ca19d42948
follow up to 9b46bb6 (see #1420 )
...
add standard "Changs to be commited" text on top of changes.
2022-11-23 15:31:37 +01:00
bc-universe
9b46bb63f9
Display commit changes ( #1420 )
...
When using an external editor to edit the commit message, the changes are now displayed
2022-11-23 15:26:26 +01:00
extrawurst
b987598c7b
fix next commit msg from history ordering
...
and also disable this command if no history is present
this fixes #1445
2022-11-22 12:18:36 +01:00
Alexandru Macovei
6b5745f6c2
Fix Clippy Lints ( #1390 )
...
* apply latest nigtly clippy lints
* temporarily disable const fn lints due to nigh false positive count on nightly
2022-10-19 13:45:12 +02:00
extrawurst
aeb64e1175
Commit msg history ( #1346 )
2022-09-20 10:07:05 +02:00
extrawurst
8e54bfd364
upgrade crossterm/tui
2022-08-17 22:12:39 +02:00
Stephan Dilly
d5d36de01e
implement reverting commit from revlog ( #1057 )
2021-12-29 16:40:22 +01:00
Stephan Dilly
6249491484
keep commit msg on hook-fail ( #1036 )
...
fixes #1035
2021-12-09 21:12:31 +01:00
Stephan Dilly
006cdd6373
support bare repos ( #1028 )
2021-12-05 00:35:45 +01:00
Stephan Dilly
3db1a68515
allow config for key symbols ( #997 )
...
closes #465
2021-11-20 18:44:04 +01:00
R0nd
48f9331b0d
Use git_message_prettify ( #924 )
2021-09-30 23:20:43 +02:00
Stephan Dilly
aaf0e4cfbf
&str instead of weird &String
2021-09-02 19:19:09 +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
3cd218de57
honor showUntrackedFiles config ( #753 )
2021-06-01 09:56:55 +02:00
Stephan Dilly
bea7edf90e
reorder
2021-05-27 09:39:50 +02:00
Stephan Dilly
242319b1d9
Fix 740 gpgsign warning ( #741 )
...
* error if gpgsign=true
2021-05-27 09:34:44 +02:00
Stephan Dilly
5a51fc63ad
cleanup
2021-05-26 23:23:04 +02:00
Stephan Dilly
7177bb223b
change temporary commit msg file path
...
we now use `.git/COMMIT_EDITMSG` for vim to recognise
2021-05-24 10:37:58 +02:00
Stephan Dilly
d4455a2657
move args stuff into separate file
2021-05-16 17:02:09 +02:00
Stephan Dilly
f35ce0cbf4
support doing merge commit ( #701 )
2021-05-12 11:20:39 +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
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
Agung Baptiso Sorlawan
ad8ecd6a1b
introduce EventState enum ( #666 )
2021-04-26 11:33:45 +02:00
Stephan Dilly
8b449f5d9e
clear commit msg after doing a commit
2021-02-24 10:21:10 +01:00
Stephan Dilly
e3bb51b277
show branchname in commit mssage box ( closes #529 )
2021-02-23 16:50:36 +01:00
Stephan Dilly
388a6e62fb
keep uncommitted msg around.
...
when adding *amend* this got broken because in that case we want to clear out the msg when it was not confirmed
2021-02-23 11:54:53 +01:00
Stephan Dilly
c428db09f6
support showing char count ( closes #466 )
2020-12-27 14:11:19 +01:00
pm100
99c3277e94
adding pre-commit hook ( #386 )
...
see #313
2020-11-01 01:06:48 +01:00
Stephan Dilly
5445594018
fix amend due to blind clippy warning refactoring ( closes #250 )
2020-08-28 23:57:06 +02:00
Stephan Dilly
2401293b66
Rust1.46 and nightly ci ( #246 )
2020-08-28 10:52:24 +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
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
de7f48f88e
show placeholder popup when waiting for external editor #157
2020-07-04 20:22:55 +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
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
df338334e1
2% optimisation in revlog where amend was still run on each event
2020-06-25 18:35:16 +02:00
Stephan Dilly
0d84abd1c6
make draw take shared ref again
2020-06-23 11:03:02 +02:00