Skip to content

Commit

Permalink
fix(services/chain): .git in parent dir (#3869)
Browse files Browse the repository at this point in the history
  • Loading branch information
huanxiangspace authored Jan 9, 2024
1 parent 4148b19 commit 6cc13bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixes

- [#3867](https://github.com/ignite/cli/pull/3867) Fix genesis export for ibc modules.
- [#3869](https://github.com/ignite/cli/pull/3869) Fix .git in parent dir

## [`v28.1.0`](https://github.com/ignite/cli/releases/tag/v28.1.0)

Expand Down
2 changes: 1 addition & 1 deletion ignite/pkg/repoversion/repoversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Version struct {
}

func Determine(path string) (v Version, err error) {
repo, err := git.PlainOpen(path)
repo, err := git.PlainOpenWithOptions(path, &git.PlainOpenOptions{DetectDotGit: true})
if err != nil {
return Version{}, err
}
Expand Down

0 comments on commit 6cc13bc

Please sign in to comment.