summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-21 16:43:37 +1000
committerGitHub <noreply@github.com>2018-09-21 16:43:37 +1000
commit2229a6e133886269ca81c253f2eac73583340814 (patch)
tree51fe8508e20516eb7fd37a3bba316af7ee043b40 /pkg
parentb9708c9f8850352d18ef4d10c285698be882f838 (diff)
parent3101c505821bf225151d0069f2f617382f5bc83b (diff)
Merge branch 'master' into hotfix/commit-message-panel-focus
Diffstat (limited to 'pkg')
-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 c37ca9b47..4163b46e9 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
}