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
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
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
4b56d428ff
pkg/updates: Fix resource availability check in Updater
...
When trying to download an update, a 'Could not find any binary at ...' error
message is shown erroneously. This happens since when checking the availability,
a response code of 403 ('Forbidden') instead of 200 ('OK') is expected. Since
'http.Head()' handles redirects automatically, there is no need to also accept
3xx status codes.
Fixes #1450 .
2022-03-18 22:19:45 +11:00
31ab43d0c5
add host helper
2022-03-17 19:13:40 +11:00
fb3752c11f
clean up keybindings menu
2022-03-17 19:13:40 +11:00
36c149836a
softcode keybinding
2022-03-17 19:13:40 +11:00
ea503633aa
move keybindings
2022-03-17 19:13:40 +11:00
59d4df2a44
fix click handling
2022-03-17 19:13:40 +11:00
cf00949b85
fix integration tests
2022-03-17 19:13:40 +11:00
c7b03bd3c2
rename handlers
2022-03-17 19:13:40 +11:00
8fd6338527
move workspace reset menu into controller
2022-03-17 19:13:40 +11:00
ee1337b931
add remote branches controller
2022-03-17 19:13:40 +11:00
d59c0e2725
remove dead code
2022-03-17 19:13:40 +11:00
675510ba53
fix integration test
2022-03-17 19:13:40 +11:00
a3885e8ea3
abbrev all commits to length 40 for consistency
2022-03-17 19:13:40 +11:00
4805db7d97
use correct context
2022-03-17 19:13:40 +11:00
3e26f39dee
remove dead code
2022-03-17 19:13:40 +11:00
ef7c4c9ca9
refactor custom commands
...
more custom command refactoring
2022-03-17 19:13:40 +11:00
952a4f3f23
prevent interrupting confirmation panel
2022-03-17 19:13:40 +11:00
46e9946854
refactor credential handling
2022-03-17 19:13:40 +11:00
d0805616e4
move function
2022-03-17 19:13:40 +11:00
bff5351ab3
better naming
2022-03-17 19:13:40 +11:00
d991d74b06
add commit message controller
2022-03-17 19:13:40 +11:00
120078f011
use PopContext
2022-03-17 19:13:40 +11:00
ecaff7fc6c
add commit files controller
2022-03-17 19:13:40 +11:00
85f2319897
refactor custom commands panel
2022-03-17 19:13:40 +11:00