author | Jim Meyering <jim@meyering.net> | |
Sat, 16 May 2009 10:21:50 +0000 (12:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 May 2009 18:57:17 +0000 (11:57 -0700) | ||
commit | c646217e1366b0397552fad8c32acb47fbe8977d | |
tree | 87f58018c16a7b6fe33512e862b6dbb0b907a2db | tree | snapshot |
parent | f044fe2de6f7bbace158853c075a4065f3722265 | commit | diff |
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>
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 | diff | blob | history |