]> git.michaelhowe.org Git - packages/b/bup.git/commit
subtree-hash: handle non-ASCII path chars
authorRob Browning <rlb@defaultvalue.org>
Fri, 13 Mar 2015 02:41:50 +0000 (21:41 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 13 Mar 2015 03:06:22 +0000 (22:06 -0500)
commit861d5fcb27e163d2b18b784dfd898c1a10d03290
tree109aeb774c18a0888fc94b3ea37185d39a7f2fc0
parentc7139a3fae51633f0f290ebf73f0cf5e4864e547
subtree-hash: handle non-ASCII path chars

Pass "-z" to git ls-files to turn off git's core.quotepath, so we can
handle non-ASCII path characters directly, and rewrite the code in
python to make that easier.

Thanks to Jiří Martínek for reporting the issue -- that
test-redundant-saves.sh would fail when there was a "ý" character in the
source tree path.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/subtree-hash