mirror of
https://github.com/git/git.git
synced 2026-01-15 13:19:10 +00:00
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>
519 B
Executable File
519 B
Executable File