diff options
Diffstat (limited to 'internal/gitaly/service/repository/repack.go')
-rw-r--r-- | internal/gitaly/service/repository/repack.go | 4 |
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 |