commit.c
6.89 KB
-
commit: don't include the LF in the header field value · d47c6aab
When the encoding header changed to be treated as an additional header, the EOL pointer started to point to the byte after the LF, making the git__strndup call copy the LF into the value. Increase the EOL pointer value after copying the data to keep the rest of the semantics but avoid copying LF.
Carlos Martín Nieto committed