specify explicit "--pretty=medium" with `git log/show/whatchanged`
authorDenis Cheng <crquan@gmail.com>
Sun, 2 Mar 2008 09:05:52 +0000 (17:05 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Mar 2008 20:06:09 +0000 (12:06 -0800)
commit9225d7be0abab0c3b1325a733aea127b45a18625
treefc716474a8004a05c67eabe8eba757a03b141750
parent5348337a3406a28a2db35fdfba8cb766b0241949
specify explicit "--pretty=medium" with `git log/show/whatchanged`

The following patch will introduce a new configuration variable,
"format.pretty", from then on the pretty format without specifying
"--pretty" might not be the default "--pretty=medium", it depends on
the user's config. So all kinds of Shell/Perl/Emacs scripts that needs
the default medium pretty format must specify it explicitly.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el
contrib/hooks/post-receive-email
git-cvsserver.perl
git-merge.sh