]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit145336ec1d028b9a6c1c39554972ffe0d497e7bb
treee2c5f172864b88d25790ef63131b6e929291d028
parent425e7f0532bcc420f7a8315e3e9702a44d1c1e73
parentd9fd71fa2a82da40a9b58c4ecbc49aed06cb8953
Merge branch 'jp/use-diff-index-in-pre-commit-sample'

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