Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitaly/service/repository/repack.go')
-rw-r--r--internal/gitaly/service/repository/repack.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/gitaly/service/repository/repack.go b/internal/gitaly/service/repository/repack.go
index dc6776c63..fea3910d7 100644
--- a/internal/gitaly/service/repository/repack.go
+++ b/internal/gitaly/service/repository/repack.go
@@ -76,6 +76,10 @@ func (s *server) repackCommand(ctx context.Context, repo repository.GitRepo, bit
return status.Errorf(codes.Internal, err.Error())
}
+ if err = s.writeCommitGraph(ctx, repo, gitalypb.WriteCommitGraphRequest_SizeMultiple); err != nil {
+ return err
+ }
+
stats.LogObjectsInfo(ctx, s.gitCmdFactory, repo)
return nil