diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-26 16:08:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-26 22:08:25 -0700 |
commit | 03e2b630f05b88da5ff43f194fed25755de44e8b (patch) | |
tree | b69205339b6dc8aa9149a1757579fc1c4de0106d /utf8.h | |
parent | 049540435fa5f7f583b8f5af257322b17eac7375 (diff) | |
download | git-03e2b630f05b88da5ff43f194fed25755de44e8b.tar.gz |
Update sample pre-commit hook to use "diff --check"
Now "diff --check" can detect not just whitespace errors but also notices
leftover conflict marker lines, we can use it in the sample pre-commit
hook script.
These days the object layer knows about the empty tree object without
actually having one in the repository, so we can run the test even for the
initial commit.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions