bash: refactor 'git log --pretty=<format>' options
commit3d279863dedf6c07eefe307b27fb3a08e519140f
authorSZEDER Gábor <szeder@ira.uka.de>
Fri, 16 Jan 2009 16:02:15 +0000 (16 17:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Jan 2009 02:23:27 +0000 (17 18:23 -0800)
tree1bbe6c6a5fe7c98b862fb6c623978ac3e360c56d
parent8108513422eac0b0df947ab58f63a6a215faa1ae
bash: refactor 'git log --pretty=<format>' options

Both 'git log' and 'show' have the same '--pretty=<format>' option
with the same formats.  So refactor these formats into a common
variable.

While at it, also add 'format:' to the list.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash