Browse Source

bug fixed

tags/v1.2.0-rc1
Lunny Xiao 12 years ago
parent
commit
d374b13d44
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

@@ -262,7 +262,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
}

// hook/post-update
pu, err := os.OpenFile(filepath.Join(repoPath, "hooks", "post-update"), os.O_CREATE|os.O_WRONLY, 0777)
pu, err := os.OpenFile(filepath.Join(repoPath, "hooks", "update"), os.O_CREATE|os.O_WRONLY, 0777)
if err != nil {
return err
}


Loading…
Cancel
Save