diff --git a/pkg/git/read.go b/pkg/git/read.go index a5d48543..01e75133 100644 --- a/pkg/git/read.go +++ b/pkg/git/read.go @@ -70,7 +70,7 @@ func IsClean(recipeName string) (bool, error) { return status.IsClean(), nil } -// GetExcludesFiles reads the exlude files from a global git ignore +// GetExcludesFiles reads the exlude files from a global gitignore func GetExcludesFiles() ([]gitignore.Pattern, error) { var err error var patterns []gitignore.Pattern @@ -100,7 +100,7 @@ func parseGitConfig() (*gitConfigPkg.Config, error) { globalGitConfig := filepath.Join(usr.HomeDir, ".gitconfig") if _, err := os.Stat(globalGitConfig); err != nil { if os.IsNotExist(err) { - logrus.Debugf("no %s exists, not reading any global git ignore config", globalGitConfig) + logrus.Debugf("no %s exists, not reading any global gitignore config", globalGitConfig) return cfg, nil } return cfg, err @@ -142,7 +142,7 @@ func parseExcludesFile(excludesfile string) ([]gitignore.Pattern, error) { if _, err := os.Stat(excludesfile); err != nil { if os.IsNotExist(err) { - logrus.Debugf("no %s exists, skipping reading ignore paths", excludesfile) + logrus.Debugf("no %s exists, skipping reading gitignore paths", excludesfile) return ps, nil } return ps, err