Git development
 help / color / mirror / Atom feed
* cosmetic bug: "git show --pretty:format" produces different output than "git show --format"
@ 2015-01-15 13:55 Francesc Zacarias
  2015-01-15 16:23 ` Michael J Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: Francesc Zacarias @ 2015-01-15 13:55 UTC (permalink / raw)
  To: git

Hi!

I noticed that git produces differing output for
"git show --pretty:format show" and "git show --format", even though
the man page says that both are equivalent.
"git show --format" always appends an empty line at the end. The only
way I've found to get rid of that empty line in --format is by adding
-s option.

So, "git show --pretty:format" and "git show -s --format" do produce
the same output.

I can reproduce this issue in Ubuntu Trusty (git version 1.9.1) and
Debian Jessie (git version 2.1.4).

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

end of thread, other threads:[~2015-01-15 19:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 13:55 cosmetic bug: "git show --pretty:format" produces different output than "git show --format" Francesc Zacarias
2015-01-15 16:23 ` Michael J Gruber
2015-01-15 17:39   ` Junio C Hamano
2015-01-15 19:25   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox