git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug] git log --show-signature print extra carriage return ^M
@ 2018-03-04 17:09 Larry Hunter
  2018-03-05 14:29 ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Hunter @ 2018-03-04 17:09 UTC (permalink / raw)
  To: git

There is bug using "git log --show-signature" in my installation

    git 2.16.2.windows.1
    gpg (GnuPG) 2.2.4
    libgcrypt 1.8.2

that prints (with colors) an extra ^M (carriage return?) at the end of
the gpg lines. As an example, the output of "git log --show-signature
HEAD" looks like:

    $ git log --show-signature HEAD
    commit 46c490188ebd216f20c454ee61108e51b481844e (HEAD -> master)
    gpg: Signature made 03/04/18 16:53:06 ora solare Europa occidentale^M
    gpg:                using RSA key ...^M
    gpg: Good signature from "..." [ultimate]^M
    Author: ... <...>
    Date:   Sun Mar 4 16:53:06 2018 +0100
    ...

To help find a fix, I tested the command "git verify-commit HEAD" that
prints (without colors) the same lines without extra ^M characters.

    $ git verify-commit HEAD
    gpg: Signature made 03/04/18 16:53:06 ora solare Europa occidentale
    gpg:                using RSA key ...
    gpg: Good signature from "..." [ultimate]

Thanks,
Larry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-28 12:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-04 17:09 [Bug] git log --show-signature print extra carriage return ^M Larry Hunter
2018-03-05 14:29 ` Johannes Schindelin
2018-03-06  9:47   ` Larry Hunter
2018-04-28 12:18     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).