From: Jeff King Date: Tue, 29 Jul 2014 17:54:46 +0000 (-0400) Subject: pretty: treat "--format=" as an empty userformat X-Git-Tag: v2.1.1~12^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c75e7ad28a34081ca6e7e53c0551fa6c99b208b0?ds=inline;hp=c75e7ad28a34081ca6e7e53c0551fa6c99b208b0 pretty: treat "--format=" as an empty userformat 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 Signed-off-by: Junio C Hamano ---