From 8e56607cc9a471fa8961275654f7e4956f62c9e9 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sat, 11 Dec 2021 20:13:55 +0100 Subject: [PATCH] fix: use default --- pkg/git/read.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/git/read.go b/pkg/git/read.go index a4b4cbaf..52f4bd50 100644 --- a/pkg/git/read.go +++ b/pkg/git/read.go @@ -128,7 +128,8 @@ func getExcludesFile(cfg *gitConfigPkg.Config) string { } } } - return "" + + return "~/.gitignore" } func parseExcludesFile(excludesfile string) ([]gitignore.Pattern, error) {