git-annex/doc/tips/automatically_adding_metadata
Joey Hess 42f154bd7e
Fix metadata hook script to support non-ascii characters
tips/automatically_adding_metadata/pre-commit-annex: Fix to not silently
skip filenames containing non-ascii characters.

git diff-index defaults to munging non-ascii characters. Using -z makes
it not do that, and then we just change the nulls to newlines.

This commit was sponsored by Jochen Bartl on Patreon.
2018-02-26 12:58:37 -04:00
..
comment_1_ffc308cc6aedabbc55820db4f401e0fb._comment
comment_2_bd64a53914107bc000c887b4d4bdf6af._comment
comment_3_02e5314f827d17d482343e8f22c42fd9._comment
comment_4_cd3c8e2f45db93576d1b82cfbfbe601b._comment
comment_5_888f0a77405d616a0d51a6176b44f605._comment
comment_6_34f0c55d09ddee3de642f6b25a9f6269._comment Windows: Fix running of the pre-commit-annex hook. 2015-01-20 14:48:16 -04:00
comment_7_94877b21bf80374c2874b971f26f0e55._comment Added a comment: pre-commit is OK on windows now - auto adding last mod datetime 2015-01-30 11:48:25 +00:00
comment_8_3880fb7f13e74d33d9c4e86772cc6b0e._comment Added a comment: hook and quoting 2017-12-09 11:18:10 +00:00
comment_9_db9c2fa8545188520d4bdda5ba545624._comment followup 2017-12-11 14:27:33 -04:00
pre-commit-annex Fix metadata hook script to support non-ascii characters 2018-02-26 12:58:37 -04:00