diff options
author | Chris Marchesi <chrism@vancluevertech.com> | 2018-08-21 22:20:09 -0700 |
---|---|---|
committer | Chris Marchesi <chrism@vancluevertech.com> | 2018-08-21 22:20:09 -0700 |
commit | 8c3c8b30b3394677d8eb16b159bfe9b4f61726a8 (patch) | |
tree | ed0068ded669ea4c7e65fd34ebd5d2d39070a6d8 /options.go | |
parent | 9b73a3ead6559576cb017b09c41c23c251b5af1c (diff) | |
download | go-git-8c3c8b30b3394677d8eb16b159bfe9b4f61726a8.tar.gz |
plumbing: object, don't add extra newline on PGP signature
Tag encoding/decoding seems to be a lot more sensitive to requiring the
exact expected format in the object, which generally includes messages
canonicalized so that they have a newline on the end (even if they
didn't before).
As such, the message should be written with the newline (no need for an
extra), and the PGP signature right after that, which will be newline
split already, so there's no need to split it again.
All of this means it's very important for the caller to send the message
in the correct format - which I'm correcting in the next commit.
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
Diffstat (limited to 'options.go')
0 files changed, 0 insertions, 0 deletions