improved ssh supports

This commit is contained in:
Lunny Xiao committed 2014-02-20 17:52:07 +08:00
1 parent fee3bd0a93
commit 104aa23a9e
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func IsRepositoryExist(user *User, reposName string) (bool, error) {
if err != nil {
return has, err
}
s, err := os.Stat(filepath.Join(RepoRootPath, user.Name, reposName))
s, err := os.Stat(RepoPath(user.Name, reposName))
if err != nil {
return false, nil
}