aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorAndrew Archibald <andrew@aarchibald.com>2021-03-10 00:02:07 -0700
committerGitHub <noreply@github.com>2021-03-10 08:02:07 +0100
commit4519f59b5fc258653027b89705bb2ac832d25a17 (patch)
treed92c58b17d0a83c97663fd215fa52ef05d1b2d64 /plumbing
parentc66023ad305ee56a38781cc5d3ca96c7115bd2e5 (diff)
downloadgo-git-4519f59b5fc258653027b89705bb2ac832d25a17.tar.gz
plumbing: gitignore, Fix gitconfig path in LoadSystemPatterns doc (#256)
Diffstat (limited to 'plumbing')
-rw-r--r--plumbing/format/gitignore/dir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/gitignore/dir.go b/plumbing/format/gitignore/dir.go
index 4a26325..922c458 100644
--- a/plumbing/format/gitignore/dir.go
+++ b/plumbing/format/gitignore/dir.go
@@ -125,7 +125,7 @@ func LoadGlobalPatterns(fs billy.Filesystem) (ps []Pattern, err error) {
}
// LoadSystemPatterns loads gitignore patterns from from the gitignore file
-// declared in a system's /etc/gitconfig file. If the ~/.gitconfig file does
+// declared in a system's /etc/gitconfig file. If the /etc/gitconfig file does
// not exist the function will return nil. If the core.excludesfile property
// is not declared, the function will return nil. If the file pointed to by
// the core.excludesfile property does not exist, the function will return nil.