summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJasper Mendiola <jasperduane77@gmail.com>2020-07-10 16:48:55 +0800
committerJesse Duffield <jessedduffield@gmail.com>2020-07-10 18:55:00 +1000
commite921ba0910c2431c26ffcbdf3847734e1283dded (patch)
treeb614d89959d15a0d74afdbdfeb53413f0ce6ab0f
parent0f5a073d57d9efdf3e516f5dab913c2eed3fc8b3 (diff)
Remove getLocalGitConfigv0.20.5
-rw-r--r--pkg/commands/git_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go
index 8d56dee40..9b34ba364 100644
--- a/pkg/commands/git_test.go
+++ b/pkg/commands/git_test.go
@@ -1384,9 +1384,6 @@ func TestGitCommandCheckout(t *testing.T) {
// TestGitCommandGetBranchGraph is a function.
func TestGitCommandGetBranchGraph(t *testing.T) {
gitCmd := NewDummyGitCommand()
- gitCmd.getLocalGitConfig = func(string) (string, error) {
- return "git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --", nil
- }
gitCmd.OSCommand.command = func(cmd string, args ...string) *exec.Cmd {
assert.EqualValues(t, "git", cmd)
assert.EqualValues(t, []string{"log", "--graph", "--color=always", "--abbrev-commit", "--decorate", "--date=relative", "--pretty=medium", "test", "--"}, args)