aboutsummaryrefslogtreecommitdiff
path: root/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'repo.go')
-rw-r--r--repo.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/repo.go b/repo.go
index 0e03db5f..0736a943 100644
--- a/repo.go
+++ b/repo.go
@@ -8,6 +8,8 @@ import (
"os"
"path/filepath"
"sync"
+
+ "git.sr.ht/~runxiyu/furgit/config"
)
// Repository represents the root of a Git repository.
@@ -48,7 +50,7 @@ func OpenRepository(path string) (*Repository, error) {
_ = f.Close()
}()
- cfg, err := ParseConfig(f)
+ cfg, err := config.ParseConfig(f)
if err != nil {
return nil, fmt.Errorf("furgit: failed to parse config: %w", err)
}