Add --format that is a synonym to --pretty
commit3a4c1a5e212357c3df030b6713c75466694c2e77
authorNanako Shiraishi <nanako3@lavabit.com>
Tue, 24 Feb 2009 09:59:14 +0000 (24 18:59 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2009 07:53:36 +0000 (24 23:53 -0800)
tree5a9ca66c17931258f0a8bdb2e94a0032b8620cee
parentd43c07b8ee6684a0df8636a0c849605f0ffc066f
Add --format that is a synonym to --pretty

Some people prefer to call the pretty-print styles "format", and get
annoyed to see "git log --format=short" fail.  Introduce it as a synonym
to --pretty so that both can be used.

Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-options.txt
revision.c