The source project of this merge request has been removed.
catfile: Add encoding information to GitCommit
Currently, Gitaly doesn't return the encoding
header, which is populated by git cat-file
when the commit message was encoded using a non-UTF-8 encoding and the i18n.commitEncoding
was set to that encoding when the commit was made. This can cause clients to show corrupted commit messages, as seen in gitlab#20058 (closed). This MR adds the encoding
field to the GitCommit
proto.
Fixes: #836 (closed)
Edited by Arun