examples/commit: use --abbrev for commit summary
commit7f1592db5d4cba2b3de3a1ce46eb8c05bd33e0a1
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 27 Jul 2010 18:44:51 +0000 (27 13:44 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Jul 2010 20:29:32 +0000 (27 13:29 -0700)
tree7bc758d1100c7de9d1b7f3f503a16927263fcc08
parentdcbeac48a7e61154c53ae800ea224607c1f7d52a
examples/commit: use --abbrev for commit summary

After v1.7.1.1~17^2~3 (pretty: Respect --abbrev option, 2010-05-03),
plumbing users do not abbreviate %h hashes by default any more.

Noticed while investigating the bug fixed by v1.7.1.1~17^2
(commit::print_summary(): don't use format_commit_message(),
2010-06-12).

Cc: Will Palmer <wmpalmer@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/examples/git-commit.sh