Jesse Duffield
267730bc00
standardise how we handle background colours
2020-05-13 21:24:25 +10:00
Jesse Duffield
d5db02a899
bump gocui to be on 'simple' branch.
...
The master branch of gocui contains stuff I added for lazynpm which changes how
the cursor is used. This will provide some benefits to lazygit as well but I
don't yet have the motivation to make the required changed in lazygit to support it.
So we're gonna be on the branch named 'simple' rather than master until I fix that up.
2020-05-13 21:24:25 +10:00
Gary Yendell
7ed8ee160d
Add option to split patch into a new commit
...
Add GetHeadCommitMessage to read the subject of the HEAD commit
Create PullPatchIntoNewCommit based heavily on PullPatchIntoIndex to
split the current patch from its commit and apply it in a separate
commit immediately after.
WIP to Squash - Fill format string with format string
WIP
2020-05-09 11:59:37 +10:00
Josh Soref
3dd33b65a0
Minor fixes
...
* Windows
* Use backticks
* Italicize git config
2020-05-08 09:48:13 +10:00
Dawid Dziurla
b85048f616
workflows: update CI triggers
...
So it would run on pull requests from forks
2020-05-04 20:03:27 +02:00
Mike Palmer
0852f53455
Add path to config file on Windows
2020-04-27 19:15:06 +10:00
Glenn Vriesman
10fa119ab3
fix: fixed readme link
...
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
2020-04-27 19:14:43 +10:00
Tyler Davis
b5404c6159
fix issue #640 add catCmd and OS-specific values
...
Add a catCmd to the Platform struct and set the value to "cat" for
non-windows builds and "type" for windows builds.
2020-04-27 19:14:18 +10:00
Lars E
42d21c4bb6
Add FreeBSD installation instructions
2020-04-22 19:51:01 +10:00
Jesse Duffield
cc13ae252a
totally screwed up the last commit
2020-04-22 11:21:20 +10:00
Jesse Duffield
b97f844a3e
handle comments in todo files
2020-04-22 11:15:41 +10:00
Glenn Vriesman
1d6eb015c1
fix: fixed yaml typo
...
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
2020-04-22 08:52:08 +10:00
Jesse Duffield
07a8ae8c3e
add handler for searching in menu
2020-04-21 19:28:31 +10:00
Jesse Duffield
f05a5e531e
warnings for stash actions
2020-04-20 18:57:08 +10:00
Kristijan Husak
68586ec49a
Handle regex compilation errors and show them to the user.
2020-04-20 18:47:50 +10:00
Kristijan Husak
6cf75af0af
Add option to set predefined commit message prefix. Fixes #760 .
2020-04-20 18:47:50 +10:00
Jesse Duffield
304607ae5d
support configurable merge args
2020-04-20 18:40:49 +10:00
Jesse Duffield
e9f28855a2
add bugfix git flow option
2020-04-20 18:31:13 +10:00
Glenn Vriesman
66d7d5f312
fix: fixed gpg breaking terminal
...
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
2020-04-20 18:30:57 +10:00
Jesse Duffield
59734f1069
whoops
2020-04-17 09:27:23 +10:00
Jesse Duffield
2974a57943
support copying stuff to clipboard
2020-04-15 10:44:56 +00:00
Adwin Ying
fcdcd1c335
fix config docs typo
2020-04-03 17:44:15 +11:00
Dawid Dziurla
4a35f9fcdb
Merge pull request #775 from jesseduffield/dawidd6-patch-1
...
workflows: update homebrew bumping action
2020-04-02 23:51:22 +02:00
Dawid Dziurla
674b14802e
workflows: update homebrew bumping action
2020-04-02 23:43:26 +02:00
Jesse Duffield
3e36affa69
remove trash files
2020-03-29 21:53:25 +00:00
Jesse Duffield
97d7a8ad0c
add reverse patch option
2020-03-29 21:53:25 +00:00
Jesse Duffield
b89ba365d0
unbold diff info
2020-03-29 18:31:19 +11:00
Jesse Duffield
47ff388549
some more UI logic
2020-03-29 18:26:24 +11:00
Jesse Duffield
647ab9bf0f
better keybinding
2020-03-29 18:26:24 +11:00
Jesse Duffield
76431b4673
simplify things
2020-03-29 18:26:24 +11:00
Jesse Duffield
be0dd29e3a
don't support files until we understand the use case
2020-03-29 18:26:24 +11:00
Jesse Duffield
40fbce91ce
add new diff mode
...
WIP
WIP
WIP
WIP
WIP
WIP
WIP
2020-03-29 18:26:24 +11:00
Jesse Duffield
33d287d2f0
remove old diff mode code
2020-03-29 18:26:24 +11:00
Jesse Duffield
9eb1cbc514
reset main's origin when cycling views
2020-03-29 02:36:01 +00:00
Jesse Duffield
40b173118a
fix conflict race condition
2020-03-29 02:36:01 +00:00
Jesse Duffield
8822c409e2
split reflog commits into ReflogCommits and FilteredReflogCommits
2020-03-29 11:37:29 +11:00
Jesse Duffield
aa750c0819
load reflog commits manually when in filter mode for branches panel
2020-03-29 11:37:29 +11:00
Jesse Duffield
d90d9d7330
reset state on each Run() call
2020-03-29 11:37:29 +11:00
Jesse Duffield
a8db672ffb
refactor gui.go
2020-03-29 11:37:29 +11:00
Jesse Duffield
76b66ae26f
properly reset gui state when restarting or coming back from a subprocess
2020-03-29 11:37:29 +11:00
Jesse Duffield
a2790cfe8e
rename to filtered mode
2020-03-29 11:37:29 +11:00
Jesse Duffield
624ae45ebb
allow scoped mode where the commits/reflog/stash panels are scoped to a file
...
WIP
restrict certain actions in scoped mode
WIP
2020-03-29 11:37:29 +11:00
Jesse Duffield
2756b82f57
fix width of half screen mode
2020-03-29 11:37:29 +11:00
Jesse Duffield
52f41ab0d5
update cheatsheet
2020-03-28 03:16:44 +00:00
Jesse Duffield
fbb767893e
support lazyloading in commits view
2020-03-28 14:02:53 +11:00
Jesse Duffield
229f5ee48c
add keybindings for paging in list panels and jumping to top/bottom
2020-03-28 14:02:53 +11:00
Jesse Duffield
96c7741ba0
add workflow for auto-merging
2020-03-28 13:22:30 +11:00
Jesse Duffield
517b7d0283
fix up some things with the patch handling stuff
2020-03-28 13:19:35 +11:00
Jesse Duffield
0c0231c3e8
autostash changes when pulling file into index
2020-03-28 13:19:35 +11:00
Jesse Duffield
a9559a5c87
move working tree state function into git.go
2020-03-28 13:19:35 +11:00