Commit graph

301 commits

Author SHA1 Message Date
Stephan Dilly
c6eb066953 cache config path call 2020-06-15 02:22:10 +02:00
Jon Grythe Stødle
212ce86f49 Move config directory
This changes the config directory from the `dirs::cache_dir` to `dirs::config_dir`. It does however keep the cache directory as the default logging directory, as it seems a better fit.

It also adds a function, `migrate_config`, which is called at startup to move directory entries inside the "old" config directory to the "new" one (but it skips moving log files). The intention is that this function can be removed after a few releases when the likelihood of someone upgrading from 0.6.0 or earlier is fairly small.

Fixes #98
2020-06-15 01:36:13 +02:00
Stephan Dilly
602257f114 simplification and fix staging hunks in untracked file 2020-06-15 01:32:39 +02:00
Stephan Dilly
b3045b35bb rename 2020-06-14 23:37:46 +02:00
Stephan Dilly
d67a240bc7 fix reset hunk in untracked file 2020-06-14 23:34:54 +02:00
Stephan Dilly
24da2f200e
Reset individual hunks (#125)
closes #11
2020-06-14 10:46:25 +02:00
Stephan Dilly
0cdaabf9f8 clippy fix 2020-06-14 10:20:05 +02:00
Stephan Dilly
36d9d13df4 fix theme usage 2020-06-14 10:19:36 +02:00
Alistair Carscadden
fcb474b8a2 use is_char_boundary() to simplify logic 2020-06-14 09:55:54 +02:00
Alistair Carscadden
8c4d52d59e wrap TextInputComponent text 2020-06-14 09:54:50 +02:00
Stephan Dilly
c37fd56b3c rustfmt 2020-06-14 00:57:45 +02:00
A. Carscadden
09c3fe9cbb
Add cursor to TextInputComponent for better commit message support (#117)
see #46
2020-06-14 00:56:35 +02:00
Stephan Dilly
5a6e67cc7e inspect stash commit (closes #121) 2020-06-13 02:11:16 +02:00
Stephan Dilly
5185f1c4d4 support commit amend (#89) 2020-06-13 01:50:39 +02:00
Stephan Dilly
63e449fca9 indicate what branch we are on (closes #115) 2020-06-12 22:37:53 +02:00
Stephan Dilly
112b5c888c better scrolling in diff (closes #52) 2020-06-12 17:36:06 +02:00
Stephan Dilly
dd69d9b559 fix files loading text sometimes wrong (closes #119) 2020-06-12 16:59:36 +02:00
Stephan Dilly
b80df36cdf fix selection disappearing in tree sometimes (closes #120) 2020-06-12 16:39:06 +02:00
Stephan Dilly
6ebe717fb1 remove some duplication in reset 2020-06-12 14:41:37 +02:00
Stephan Dilly
9301574624 fix reset file when running gitui in subfolder (closes #118) 2020-06-12 11:46:45 +02:00
Stephan Dilly
0ec7552569 right arrow in file tree convenience 2020-06-10 09:35:27 +02:00
Stephan Dilly
8d38bd1862 clippy 2020-06-09 17:49:56 +02:00
Stephan Dilly
f91873da1b correct file number 2020-06-09 17:49:08 +02:00
Stephan Dilly
885accc271 more room for files 2020-06-09 17:33:30 +02:00
Stephan Dilly
9e1d8af264 request commit based diff async 2020-06-09 17:23:59 +02:00
Stephan Dilly
6a6fae9581 show cmds in new commit popup 2020-06-09 16:58:28 +02:00
Stephan Dilly
702415c40d
full commit detail popup (#113)
see #80
2020-06-09 13:30:17 +02:00
Stephan Dilly
fa8070b1ba new popup paragraph helper 2020-06-08 23:50:46 +02:00
Stephan Dilly
4caf8ddff9 cleanup 2020-06-08 23:39:15 +02:00
Stephan Dilly
4ea8124a10 thick borders on popups 2020-06-08 23:38:42 +02:00
Stephan Dilly
71fdf1d6a9 better tag highlighting in log 2020-06-06 19:33:52 +02:00
Stephan Dilly
5bfdb40a14
commit details in log (#107) 2020-06-06 19:24:48 +02:00
Stephan Dilly
3dc1119142 fix new clippy error 2020-06-04 21:11:07 +02:00
Stephan Dilly
a2e9997bb1 note for later 2020-06-04 18:31:47 +02:00
Mehran Kordi
38ee8c99f3
fixed an issue with tab reverse on windows. (#110)
closes #111
2020-06-04 18:22:35 +02:00
A. Carscadden
702c49a147
add --directory option (#104)
closes #73
2020-06-04 12:33:36 +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
0bf18331a5 better cmd names 2020-06-02 14:43:35 +02:00
Stephan Dilly
26a4245213 better cmd ordering 2020-06-02 14:40:24 +02:00
Stephan Dilly
ce45c886c1 only switch when target is not-empty (#105) 2020-06-02 14:31:54 +02:00
Stephan Dilly
2032182cf9 arrow keys on end of file list switches focus (closes #105) 2020-06-02 14:28:32 +02:00
Stephan Dilly
aa79b92f59 more hotkeys and workdir/stage hotkey change (closes #92) 2020-06-02 14:07:28 +02:00
Stephan Dilly
14a93cbefd support adding file/folder to gitignore (closes #44) 2020-06-01 23:32:11 +02:00
Stephan Dilly
4de0e52418
Support more commands (#101)
closes #83
2020-06-01 22:02:40 +02:00
Stephan Dilly
f96343061c add clippy::nursery checks 2020-05-31 01:04:04 +02:00
Stephan Dilly
9cff56c33d little error message rewording (closes #100) 2020-05-30 14:19:03 +02:00
Stephan Dilly
8643844913 expressive error msg when run in bare repo (closes #100) 2020-05-30 13:05:11 +02:00
Stephan Dilly
732690da1d improve performance on diffing giant files (#96) 2020-05-29 09:44:11 +02:00
Stephan Dilly
0bad5503bd fix error when showing diff of giant file - trading error for dog slow drawing (closes #96) 2020-05-29 09:32:59 +02:00