commit | c75e7ad28a34081ca6e7e53c0551fa6c99b208b0 | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Tue Jul 29 13:54:46 2014 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Jul 30 12:30:06 2014 -0700 |
tree | 5ad17ad53bdc10e5eaeecf5c75fddddab39dbab0 | |
parent | ae18165fbbf5e15ab2371d09f79cd12ee403c51e [diff] |
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>