aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/repository/push.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/services/repository/push.go b/services/repository/push.go
index bd7ebe6748..762136fd08 100644
--- a/services/repository/push.go
+++ b/services/repository/push.go
@@ -180,10 +180,6 @@ func pushUpdates(optsList []*PushUpdateOptions) error {
}
repoPath := repo.RepoPath()
- _, err = git.NewCommand("update-server-info").RunInDir(repoPath)
- if err != nil {
- return fmt.Errorf("Failed to call 'git update-server-info': %v", err)
- }
gitRepo, err := git.OpenRepository(repoPath)
if err != nil {
return fmt.Errorf("OpenRepository: %v", err)