]> source.dussan.org Git - jgit.git/commit
Tag message must not include the signature 05/174405/3
authorThomas Wolf <thomas.wolf@paranor.ch>
Thu, 7 Jan 2021 16:10:45 +0000 (17:10 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Sun, 10 Jan 2021 15:19:40 +0000 (10:19 -0500)
commitdd3846513bbc682b9c51b09d369687ab7a036a49
tree83d745d1dc95baab8b1009edfe11f0cbe47e2d96
parentdb48fcedbc7284076f48f00e836ab944ff119fdb
Tag message must not include the signature

Signatures on tags are just tacked onto the end of the message.
Getting the message must not return the signature. Compare [1]
and [2] in C git, which both drop a signature at the end of an
object body.

[1] https://github.com/git/git/blob/21bf933/builtin/tag.c#L173
[2] https://github.com/git/git/blob/21bf933/ref-filter.c#L1276

Change-Id: Ic8a1062b8bc77f2d7c138c3fe8a7fd13b1253f38
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Show.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevTag.java