git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [POSSIBLE BUG] 'git log' option --no-color adds bogus empty line
@ 2007-10-27  9:10 Marco Costalba
  2007-10-27  9:36 ` Johannes Gilger
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Costalba @ 2007-10-27  9:10 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git list, Yaacov Akiba Slama

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

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

end of thread, other threads:[~2007-10-27 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-27  9:10 [POSSIBLE BUG] 'git log' option --no-color adds bogus empty line Marco Costalba
2007-10-27  9:36 ` Johannes Gilger
2007-10-27 10:01   ` Marco Costalba

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).