1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-27 00:51:18 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
63dc07fded Construct arg vector manually rather than parse string
By constructing an arg vector manually, we no longer need to quote arguments

Mandate that args must be passed when building a command

Now you need to provide an args array when building a command.
There are a handful of places where we need to deal with a string,
such as with user-defined custom commands, and for those we now require
that at the callsite they use str.ToArgv to do that. I don't want
to provide a method out of the box for it because I want to discourage its
use.

For some reason we were invoking a command through a shell when amending a
commit, and I don't believe we needed to do that as there was nothing user-
supplied about the command. So I've switched to using a regular command out-
side the shell there
2023-05-23 19:49:19 +10:00
438038a4f1 fix(loaders/file.go): changed to ignore stderr when loading git status 2022-09-19 18:46:32 +09:00
755ae0ef84 add deadlock mutex package
write to deadlock stderr after closing gocui

more deadlock checking
2022-08-07 11:16:14 +10:00
1dd7307fde start moving commit panel handlers into controller
more

and more

move rebase commit refreshing into existing abstraction

and more

and more

WIP

and more

handling clicks

properly fix merge conflicts

update cheatsheet

lots more preparation to start moving things into controllers

WIP

better typing

expand on remotes controller

moving more code into controllers
2022-03-17 19:13:40 +11:00
4ab5e54139 add support for git bisect 2022-01-22 10:48:51 +11:00
f503ff1ecb start breaking up git struct 2022-01-09 14:09:53 +11:00
91fe68576c refactor 2022-01-07 10:52:51 +11:00
05fa483f48 simplify how we log commands 2022-01-07 10:52:51 +11:00
b028f37ba8 updating specs 2022-01-04 09:07:15 +11:00
95f4ceea34 refactor 2022-01-04 09:07:15 +11:00
43a4fa970d WIP 2022-01-04 09:07:15 +11:00
b4c078d565 WIP 2022-01-04 09:07:15 +11:00
6388af70ac simplify pull logic 2021-10-22 21:33:17 +11:00