From: "Marco Costalba" <mcostalba@gmail.com>
To: "Junio C Hamano" <gitster@pobox.com>
Cc: "git list" <git@vger.kernel.org>, "Yaacov Akiba Slama" <ya@slamail.org>
Subject: [POSSIBLE BUG] 'git log' option --no-color adds bogus empty line
Date: Sat, 27 Oct 2007 11:10:00 +0200 [thread overview]
Message-ID: <e5bfff550710270210g6d363b40of597c3160124fb85@mail.gmail.com> (raw)
Form git tree:
$ git log -n 1 8d863c98b2f9b0d37 | wc
7 28 246
$ git log --no-color -n 1 8d863c98b2f9b0d37 | wc
8 28 247
$ git --version
git version 1.5.3.2.124.g648db
What's worst is that when using --log-size option, the size is always
the same (198 in this case) breaking qgit parsing when --no-color
option is used.
BTW --no-color option is needed to correctly handle repositories where
"diff.color = true" in the configuration as pointed out (and patched)
by Yaacov Akiba Slama.
Thanks
Marco
next reply other threads:[~2007-10-27 9:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-27 9:10 Marco Costalba [this message]
2007-10-27 9:36 ` [POSSIBLE BUG] 'git log' option --no-color adds bogus empty line Johannes Gilger
2007-10-27 10:01 ` Marco Costalba
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=e5bfff550710270210g6d363b40of597c3160124fb85@mail.gmail.com \
--to=mcostalba@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ya@slamail.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).