Skip to content
Snippets Groups Projects
Commit 7a70b6d6 authored by Stan Hu's avatar Stan Hu
Browse files

Remove extraneous newlines in pre-receive hook

Found while investigating slow performance in gitlab-org/gitlab-ce#17225

We were adding a newline for every branch push because:

1. GitlabAccess calls changes.lines, which keeps the newline (e.g. ['00000000 12345678 refs/heads/master\n'])
2. GitlabNet calls changes.join("\n"), which adds another newline
parent 9bf99423
No related branches found
No related tags found
1 merge request!58Remove extraneous newlines in pre-receive hook
Pipeline #
Status
Pipeline
Created by
Stages
Actions
Download artifacts

No artifacts found