summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-20 09:48:56 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-20 09:48:56 +1000
commita2b3cd08234e933ed572f3d95d473e19bd6adc99 (patch)
tree1b445e56eecfbea4bf83d8466daa9c0c47645733
parent8fac19c17575c78753a0ed4e8116312ca3d5573e (diff)
add removeAll to git
-rw-r--r--pkg/commands/git.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go
index 5bc33b2f5..b394753ca 100644
--- a/pkg/commands/git.go
+++ b/pkg/commands/git.go
@@ -101,6 +101,7 @@ func NewGitCommand(log *logrus.Entry, osCommand *OSCommand, tr *i18n.Localizer)
Repo: repo,
getGlobalGitConfig: gitconfig.Global,
getLocalGitConfig: gitconfig.Local,
+ removeFile: os.RemoveAll,
}, nil
}