We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents caf60ae + e2814bd commit 3b9d063Copy full SHA for 3b9d063
cmd/root.go
@@ -36,7 +36,7 @@ func currentBranch() string {
36
log.Fatal(err)
37
}
38
39
- repo, err := git.PlainOpen(dir)
+ repo, err := git.PlainOpenWithOptions(dir, &git.PlainOpenOptions{DetectDotGit: true})
40
if err != nil {
41
42
0 commit comments