From: "Ravi (Tom) Hale" <ravi@hale.ee>
To: git <git@vger.kernel.org>
Subject: Format for %d includes unwanted preceding space
Date: Thu, 6 Oct 2016 16:22:08 +0700 [thread overview]
Message-ID: <a3eed8fb-505c-e9c1-6fb6-944d9df2f15d@hale.ee> (raw)
The log --format="%d" includes preceding space:
$ git log -n1 --format="XX%dXX" HEAD
XX (HEAD -> master)XX
I know of no other %<token> that is output in this way.
Is there a way of removing this preceding space through the format
string, or will it need to be a code change?
--
Tom Hale
next reply other threads:[~2016-10-06 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 9:22 Ravi (Tom) Hale [this message]
2016-10-06 18:49 ` Format for %d includes unwanted preceding space Junio C Hamano
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=a3eed8fb-505c-e9c1-6fb6-944d9df2f15d@hale.ee \
--to=ravi@hale.ee \
--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).