aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/tree.go
diff options
context:
space:
mode:
authorSpencer Judd <spencercjudd@gmail.com>2019-04-03 22:26:03 -0700
committerFilip Navara <navara@emclient.com>2019-04-20 20:45:40 +0200
commit2e4f90007aace73cc0ba0d9c5c3744c99a20bb97 (patch)
tree1ebfebe667cd26ddd7dee3baf3fa29299766cb40 /plumbing/object/tree.go
parentaa6f288c256ff8baf8a7745546a9752323dc0d89 (diff)
downloadgo-git-2e4f90007aace73cc0ba0d9c5c3744c99a20bb97.tar.gz
plumbing: object, Fix tag message decoding
The Decode method was adding one too many newlines to the tag message, causing signature verification to fail. This is because in signed tags produced by `git`, there is a newline after the PGP signature block, resulting in `messageAndSig` having one extra (empty) `[]byte` element. This caused `t.Message` to receive one extra newline. Signed-off-by: Spencer Judd <spencercjudd@gmail.com>
Diffstat (limited to 'plumbing/object/tree.go')
0 files changed, 0 insertions, 0 deletions