Failure to push repository with invalid time zones
Summary
When trying to push a legacy repository, GitLab will reject it if there are bad time zones in a commit object.
Steps to reproduce
Try to push https://github.com/psf/requests to a new repo on GitLab.
Commit 5e6ecdad causes a failure.
What is the current bug behavior?
$ git push test --all
Counting objects: 22361, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7606/7606), done.
remote: error: object 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8: badTimezone: invalid author/committer line - bad time zone
remote: fatal: fsck error in packed object
error: failed to push some refs to 'git@gitlab.com:JonathonReinhart/python-requests.git'
What is the expected correct behavior?
Pushing should work.
Output of checks
This bug happens on GitLab.com
Other
Edited by Jonathon Reinhart