aboutsummaryrefslogtreecommitdiffstats
path: root/repository/gogit.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/gogit.go')
-rw-r--r--repository/gogit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/gogit.go b/repository/gogit.go
index 649614fb..01eace6d 100644
--- a/repository/gogit.go
+++ b/repository/gogit.go
@@ -192,7 +192,7 @@ func detectGitPath(path string) (string, error) {
dotContent = strings.TrimSpace(strings.TrimPrefix(dotContent, "gitdir: "))
return dotContent, nil
}
- return "", fmt.Errorf(".git exist but is not a directory")
+ return "", fmt.Errorf(".git exist but is not a directory or module/workspace file")
}
return filepath.Join(path, ".git"), nil
}