]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jp/use-diff-index-in-pre-commit-sample'
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 Dec 2023 18:14:52 +0000 (10:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Dec 2023 18:14:52 +0000 (10:14 -0800)
The sample pre-commit hook that tries to catch introduction of new
paths that use potentially non-portable characters did not notice
an existing path getting renamed to such a problematic path, when
rename detection was enabled.

* jp/use-diff-index-in-pre-commit-sample:
  hooks--pre-commit: detect non-ASCII when renaming


Trivial merge