897c4402a4
better colour
2022-03-27 18:16:16 +11:00
860d1e0145
fix copy for merge confirmation
2022-03-27 18:16:16 +11:00
e011acbab2
better logging for stash flow
2022-03-27 18:16:16 +11:00
3e5d4b2c74
add menu keybindings for various things
2022-03-27 18:16:16 +11:00
e94312b664
use colour
2022-03-27 18:16:16 +11:00
9c226eed37
allow menu to store keybindings for quick menu navigation
2022-03-27 18:16:16 +11:00
e43ce23642
require hitting escape to exit menu panel
2022-03-27 18:16:16 +11:00
0dfb7c08b7
remove controllers struct
2022-03-27 18:16:16 +11:00
f0a4dcfdc3
refactor menu context
2022-03-27 18:16:16 +11:00
98e7ec0905
add type alias for Key
2022-03-27 18:16:16 +11:00
7128d822cb
show stdout in error message if stderr is blank
2022-03-27 14:58:20 +11:00
20ec6d98ad
refactor integration tests
2022-03-27 14:58:20 +11:00
2b3d457aa4
honour push.default matching config value
2022-03-27 14:58:20 +11:00
ae10a5ea88
add git fetch prune integration test
2022-03-27 10:28:46 +11:00
4abd80e2c4
pkg/gui: Fix crash if auto-fetch interval is non-positive
...
Check whether the auto-fetch interval configured is actually positive before
starting the background fetcher. If it is not, an error is logged. Also improve
the config option documentation a bit to make it easier to understand how to
disable auto-fetch.
2022-03-27 10:14:33 +11:00
240483953f
config: Add option 'git.autoRefresh' to en-/disable auto-refresh
...
Adds a new 'autoRefresh' option to the 'git' config section that allows user to
disable auto-refresh (defaults to on). If auto-refresh is enabled, the
refreshInterval is now checked before starting the timer to prevent crashes when
it is non-positive.
Fixes #1417
2022-03-27 10:14:33 +11:00
51baa8c17d
update cheatsheet
2022-03-26 18:00:46 +11:00
102c33433b
remove dead code
2022-03-26 18:00:46 +11:00
fe87114074
don't hide transient views upon losing focus
2022-03-26 18:00:46 +11:00
ad7703df65
show namesake for child views
2022-03-26 18:00:46 +11:00
13b90ac37f
support viewing commits of reflog entry and show better view title
2022-03-26 18:00:46 +11:00
e039429885
better wording again
2022-03-26 17:22:42 +11:00
e0b05f4464
fix cherry picking bug
2022-03-26 17:22:42 +11:00
077b6eb8a3
refactor to make code clearer
2022-03-26 17:22:42 +11:00
45dab51214
add basic commits controller for handling actions that apply to all commit contexts
2022-03-26 17:22:42 +11:00
540edb0bf4
Add copy commit attributes option
2022-03-26 17:22:42 +11:00
bbaa651943
Update chinese.go
2022-03-26 13:38:22 +11:00
f9979879a1
no more naked returns
2022-03-25 23:27:28 +11:00
cf74c2cf96
reorder
2022-03-24 20:14:41 +11:00
43d3f2bcb6
refactor todo file generation
2022-03-24 20:14:41 +11:00
99e55725fb
simplify
2022-03-24 20:14:41 +11:00
340a145bc8
refactor cheatsheet generator
2022-03-24 20:14:41 +11:00
cb26c7a1f2
more things
2022-03-24 20:14:41 +11:00
e392b9f86a
no more filterThenMap
2022-03-24 20:14:41 +11:00
67a76523fb
rename
2022-03-24 20:14:41 +11:00
94a53484a1
would you believe that I'm adding even more generics
2022-03-24 20:14:41 +11:00
1b75ed3740
many more generics
2022-03-24 20:14:41 +11:00
bf4f06ab4e
more generics
2022-03-24 20:14:41 +11:00
eda8f4a5d4
lots more generics
2022-03-24 20:14:41 +11:00
c7a629c440
make more use of generics
2022-03-24 20:14:41 +11:00
dde30fa104
add gone branches status
2022-03-24 17:50:25 +11:00
13a9bbb984
skip flakey bisect test
2022-03-24 09:45:27 +11:00
f113ff21bf
add confirmation before performing undo or redo action
2022-03-24 09:45:27 +11:00
12ecd665c8
safe reword
2022-03-23 23:43:21 +11:00
cc5d13c833
allow adding whole diff to patch
...
this was causing a panic
add integration test for toggling all commit files
2022-03-23 23:36:58 +11:00
5ded030a88
diff colour for reflog commits
2022-03-23 18:53:29 +11:00
8fb47fb7d6
pkg/commands: Don't duplicate line breaks when retrieving commit message
...
When using the "copy commit message to clipboard" action, the message will end
up in the clipboard with duplicate line breaks. The same issue also affects the
"Reword Commit" command. GetCommitMessage(), the function used to retrieve the
commit message first splits the output returned by git into separate lines -
without removing the line breaks. After removing the first line (which contains
the commit SHA), it joins the lines of the message itself back together - adding
a second set of line breaks along the way. Stop this from happening.
Fixes #1808 .
2022-03-23 08:19:17 +11:00
ac687a5a2a
docs: Add section about code formatting to contributors guide
...
Explain that gofumpt is used instead of gofmt and how to configure VSCode to use it.
2022-03-23 08:18:06 +11:00
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00
d93fef4c61
use generics to DRY up context code
2022-03-19 12:12:57 +11:00