aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/git.go')
-rw-r--r--repository/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/git.go b/repository/git.go
index c03cf979..d9a92c82 100644
--- a/repository/git.go
+++ b/repository/git.go
@@ -115,7 +115,7 @@ func NewGitRepo(path string, witnesser Witnesser) (*GitRepo, error) {
// InitGitRepo create a new empty git repo at the given path
func InitGitRepo(path string) (*GitRepo, error) {
- repo := &GitRepo{Path: path}
+ repo := &GitRepo{Path: path+"/.git"}
err := repo.createClocks()
if err != nil {
return nil, err