diff options
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index 844fca9a3a..20671cb019 100644 --- a/models/repo.go +++ b/models/repo.go @@ -2099,7 +2099,7 @@ func ForkRepository(u *User, oldRepo *Repository, name, desc string) (_ *Reposit repoPath, fmt.Sprintf("ForkRepository(git update-server-info): %s", repoPath), "git", "update-server-info") if err != nil { - return nil, fmt.Errorf("git update-server-info: %v", err) + return nil, fmt.Errorf("git update-server-info: %v", stderr) } if err = createUpdateHook(repoPath); err != nil { |