aboutsummaryrefslogtreecommitdiffstats
path: root/common_test.go
diff options
context:
space:
mode:
authorChris Marchesi <chrism@vancluevertech.com>2018-08-21 22:24:41 -0700
committerChris Marchesi <chrism@vancluevertech.com>2018-08-21 22:24:41 -0700
commit2c2b532a525ab2c05f6e9675efd529a052121713 (patch)
treec77ddbd5dd328b89670c3ad695fce7bc491b4879 /common_test.go
parent8c3c8b30b3394677d8eb16b159bfe9b4f61726a8 (diff)
downloadgo-git-2c2b532a525ab2c05f6e9675efd529a052121713.tar.gz
git: Canonicalize incoming annotated tag messages
Tag messages are highly sensitive to being in the expected format, especially when encoding/decoding for PGP verification. As such, we do a simple trimming of whitespace on the incoming message and add a newline on the end, to ensure there are no surprises here. Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
Diffstat (limited to 'common_test.go')
0 files changed, 0 insertions, 0 deletions