diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-10 13:29:06 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-10 15:01:40 +1100 |
commit | d0d92c7697c311071e2fc4b5cc9fa9278a9c300a (patch) | |
tree | e1a589800cbc4c7118807f113023120ab344f7dc /pkg/commands | |
parent | 89a9b4e6d584fb86cc22852a3d71572b42104a65 (diff) |
remove old add patch keybinding
Diffstat (limited to 'pkg/commands')
-rw-r--r-- | pkg/commands/git.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index e306efe13..bd834e574 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -508,12 +508,6 @@ func (c *GitCommand) Checkout(branch string, force bool) error { return c.OSCommand.RunCommand(fmt.Sprintf("git checkout %s %s", forceArg, branch)) } -// AddPatch prepares a subprocess for adding a patch by patch -// this will eventually be swapped out for a better solution inside the Gui -func (c *GitCommand) AddPatch(filename string) *exec.Cmd { - return c.OSCommand.PrepareSubProcess("git", "add", "--patch", c.OSCommand.Quote(filename)) -} - // PrepareCommitSubProcess prepares a subprocess for `git commit` func (c *GitCommand) PrepareCommitSubProcess() *exec.Cmd { return c.OSCommand.PrepareSubProcess("git", "commit") |