pre-commit.sample: don't print incidental SHA1
commitc646217e1366b0397552fad8c32acb47fbe8977d
authorJim Meyering <jim@meyering.net>
Sat, 16 May 2009 10:21:50 +0000 (16 12:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 May 2009 18:57:17 +0000 (16 11:57 -0700)
tree87f58018c16a7b6fe33512e862b6dbb0b907a2db
parentf044fe2de6f7bbace158853c075a4065f3722265
pre-commit.sample: don't print incidental SHA1

Make the sample pre-commit hook script discard
all git-rev-parse output, not just stderr.
Otherwise, it would print an SHA1.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--pre-commit.sample