From: buckmartin <buckmartin@gmail.com>
To: git@vger.kernel.org
Subject: Bug: git log changes output depending on how the output is used
Date: Thu, 25 Oct 2018 17:26:35 +0200 [thread overview]
Message-ID: <CAJCHkCHPpZVPX2zeHQZWGKyCpHdFFHvNqn1Db0hsAPfTdjV-+A@mail.gmail.com> (raw)
I noticed that the piped output still prints the (HEAD -> ) :
git log --pretty=format:"%d*%B" --decorate-refs='refs/tags/*'
*bar
(tag: "123")*foo
git log --pretty=format:"%d*%B" --decorate-refs='refs/tags/*' > tmp.tmp
(HEAD -> branch)*bar
(tag: "123")*foo
I would expect the output that is printed to console, not what's
present in tmp.tmp
reply other threads:[~2018-10-25 15:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJCHkCHPpZVPX2zeHQZWGKyCpHdFFHvNqn1Db0hsAPfTdjV-+A@mail.gmail.com \
--to=buckmartin@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).