[POSSIBLE BUG] 'git log' option --no-color adds bogus empty line
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Oct 27, 2007, 09:10 UTC
- Message-ID
- <e5bfff550710270210g6d363b40of597c3160124fb85@mail.gmail.com>
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