summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-26 17:15:13 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-27 09:49:30 +1000
commitda8eac5538b236e4b79e3bab6465e8d5666c48e0 (patch)
tree95b8332360e10990dd8ea7047d53a89510e91471 /pkg/commands/git.go
parent67bbeb195b52121976840de0cd1a20cf1462b5e0 (diff)
better interface
Diffstat (limited to 'pkg/commands/git.go')
-rw-r--r--pkg/commands/git.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go
index 3771ec003..8a7abb55b 100644
--- a/pkg/commands/git.go
+++ b/pkg/commands/git.go
@@ -705,11 +705,6 @@ func (c *GitCommand) Checkout(branch string, options CheckoutOptions) error {
return c.OSCommand.RunCommandWithOptions(fmt.Sprintf("git checkout %s %s", forceArg, branch), RunCommandOptions{EnvVars: options.EnvVars})
}
-// PrepareCommitSubProcess prepares a subprocess for `git commit`
-func (c *GitCommand) PrepareCommitSubProcess() *exec.Cmd {
- return c.OSCommand.PrepareSubProcess("git", "commit")
-}
-
// PrepareCommitAmendSubProcess prepares a subprocess for `git commit --amend --allow-empty`
func (c *GitCommand) PrepareCommitAmendSubProcess() *exec.Cmd {
return c.OSCommand.PrepareSubProcess("git", "commit", "--amend", "--allow-empty")