pretty: treat "--format=" as an empty userformat
authorJeff King <peff@peff.net>
Tue, 29 Jul 2014 17:54:46 +0000 (13:54 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Jul 2014 19:30:06 +0000 (12:30 -0700)
Until now, we treated "--pretty=" or "--format=" as "give me
the default format". This was not planned nor documented,
but only what happened to work due to our parsing of
"--pretty" (which should give the default format).

Let's instead let these be an actual empty userformat.
Otherwise one must write out the annoyingly long
"--pretty=tformat:" to get the same behavior.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found