]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jp/use-diff-index-in-pre-commit-sample' into maint-2.43
authorJunio C Hamano <gitster@pobox.com>
Fri, 9 Feb 2024 00:22:02 +0000 (16:22 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Feb 2024 00:22:02 +0000 (16:22 -0800)
commit7c0524187799431bb336d005b1305174602c0249
treeb8ce282095c430e6ce18c6f4625269e2aa1f8db5
parent13031f66897277973028c45ec7de89657b804c2d
parentd9fd71fa2a82da40a9b58c4ecbc49aed06cb8953
Merge branch 'jp/use-diff-index-in-pre-commit-sample' into maint-2.43

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