summaryrefslogtreecommitdiff
path: root/diff-delta.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-06-26 16:08:05 -0700
committerJunio C Hamano <gitster@pobox.com>2008-06-26 22:08:25 -0700
commit03e2b630f05b88da5ff43f194fed25755de44e8b (patch)
treeb69205339b6dc8aa9149a1757579fc1c4de0106d /diff-delta.c
parent049540435fa5f7f583b8f5af257322b17eac7375 (diff)
downloadgit-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 'diff-delta.c')
0 files changed, 0 insertions, 0 deletions