Jesse Duffield
ce6f8ed1bc
move models folder into commands folder
2020-09-29 20:48:49 +10:00
Jesse Duffield
72af7e4177
factor out code from git.go
2020-09-29 20:48:49 +10:00
Jesse Duffield
1759ddf247
move OS commands into their own package
2020-09-29 20:48:49 +10:00
Jesse Duffield
f9643448a4
move commit files
2020-09-29 20:48:49 +10:00
Jesse Duffield
91f0b0e28f
move stash panel
2020-09-29 20:48:49 +10:00
Jesse Duffield
8d2af5cc61
move file and submodule
2020-09-29 20:48:49 +10:00
Jesse Duffield
eda4619a4f
move remotes and remote branches
2020-09-29 20:48:49 +10:00
Jesse Duffield
e849ca3372
move tags
2020-09-29 20:48:49 +10:00
Jesse Duffield
630e446989
move commits model into models package
2020-09-29 20:48:49 +10:00
Jesse Duffield
44248d9ab0
pull branch model out into models package
2020-09-29 20:48:49 +10:00
Jesse Duffield
6e80371535
tell users we're going to reset submodules
2020-09-29 18:21:59 +10:00
Jesse Duffield
b4a350259d
format code
2020-09-29 18:21:59 +10:00
Jesse Duffield
914fb36173
allow entering and returning from submodule
2020-09-29 18:21:59 +10:00
Jesse Duffield
b8da166ab1
support discarding submodule changes
2020-09-29 18:21:59 +10:00
Jesse Duffield
ca437a6504
support submodules
2020-09-29 18:21:59 +10:00
Jesse Duffield
75598ea2a1
move git dir env stuff into a centralised package
2020-09-29 17:42:07 +10:00
Jesse Duffield
e873816160
do not include bare repos in recent repos list
2020-09-29 17:42:07 +10:00
Jesse Duffield
23626755d7
unset GIT_WORK_TREE and GIT_DIR when switching repos
2020-09-29 17:42:07 +10:00
Jesse Duffield
de482262e1
support setting description in custom command
2020-09-27 11:32:54 +10:00
Jesse Duffield
12f9b1416f
better handling of global custom keybindings
2020-09-27 11:11:55 +10:00
Jesse Duffield
a09bb5d4d8
better validation messages
2020-09-27 09:49:30 +10:00
Jesse Duffield
7cd17d3a73
support custom command loading text
2020-09-27 09:49:30 +10:00
Jesse Duffield
8a59a4404b
rename prompt to input
2020-09-27 09:49:30 +10:00
Jesse Duffield
5724fa534a
fallback to value if name not given
2020-09-27 09:49:30 +10:00
Jesse Duffield
e7210dd249
better template support for menus and prompts
2020-09-27 09:49:30 +10:00
Jesse Duffield
7d39cc75b2
support menus in custom commands
2020-09-27 09:49:30 +10:00
Jesse Duffield
b5066f1d8e
support prompts in custom commands
2020-09-27 09:49:30 +10:00
Jesse Duffield
266d8bf0d5
minor fixup
2020-09-27 09:49:30 +10:00
Jesse Duffield
da8eac5538
better interface
2020-09-27 09:49:30 +10:00
Jesse Duffield
67bbeb195b
support custom keybindings
2020-09-27 09:49:30 +10:00
Jesse Duffield
92183de29e
more lenient handling of views not existing
2020-09-26 19:33:22 +10:00
Jesse Duffield
8dae54ab8c
fix panic
2020-09-26 11:56:22 +10:00
Jesse Duffield
62a31c27e1
refresh commit files view when needed
2020-09-26 11:52:38 +10:00
Jesse Duffield
dd29ee7288
convert to string in a better way because I'm pretty sure alpine needs it
2020-09-26 11:12:47 +10:00
Jesse Duffield
fe64f2f4c9
use --no-ext-diff flag for git diff
2020-09-26 11:03:38 +10:00
Jesse Duffield
f0a1544ebd
more logging
2020-09-26 11:00:50 +10:00
Jesse Duffield
077f113618
add in-built logging support for a better dev experience
2020-09-26 11:00:50 +10:00
Yuki Osaki
1fd89b4f46
Be able to copy file name
2020-09-21 15:35:50 +10:00
Jesse Duffield
14c8b80494
show loading state when amending top commit
2020-09-18 07:58:16 +10:00
Francisco Miamoto
250fe740b2
use GetBool instead of casting
2020-08-31 09:22:39 +10:00
Francisco Miamoto
70eda031dc
implement config option for disabling force pushing
2020-08-31 09:22:39 +10:00
Jesse Duffield
71ff18318d
fast UI update when moving commits in rebase mode
2020-08-29 00:19:31 +00:00
Jesse Duffield
46cce28758
restore donate link
2020-08-28 09:52:56 +10:00
Jesse Duffield
40bec49de8
more efficient refreshing of rebase commits
2020-08-27 21:51:07 +10:00
Jesse Duffield
f99d5f74d4
drop merge commits when interactive rebasing just like git CLI
2020-08-27 21:51:07 +10:00
Jesse Duffield
196c83d058
fix bug where cancelling search in menu caused issue
2020-08-26 09:32:57 +00:00
Jesse Duffield
45a0378c01
do not create error panel for sentinel errors
2020-08-25 22:21:15 +00:00
Jesse Duffield
1494a3863d
Remove tab keybinding for cycling tab
...
This keybinding has been more pain than it's worth. Having a tab keybinding
to cycle tabs implies that you can shift+tab and when you shift+tab the
application exits because termbox, our dependency, doesn't know how to
interpret the escape sequence (so it takes it for an actual ESC key which
will exit lazygit at the top level).
If people get mad at me they can set nextBlock-alt to <tab> and they'll have
the functionality back :)
2020-08-25 10:48:13 +00:00
Jesse Duffield
f5c55f066b
use new branch logic when 'checking out' remote branch
2020-08-25 09:25:17 +00:00
Jesse Duffield
3ebb91c07a
better keybinding ('W') for viewing diff
2020-08-24 23:08:05 +00:00