git-p4: use replacement character for non UTF-8 characters in paths
commit4cb870d8042bef3fdd953c633463eda24ce78f3d
authorLars Schneider <larsxschneider@gmail.com>
Mon, 21 Sep 2015 08:49:18 +0000 (21 10:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Sep 2015 20:24:11 +0000 (21 13:24 -0700)
tree02a98ef53eb6eef0004f26e7281995bf0d79cd9f
parent00a9403a1069b19f27d690853db34459b32b3d3d
git-p4: use replacement character for non UTF-8 characters in paths

If non UTF-8 characters are detected in paths then replace them with
a placeholder instead of throwing a UnicodeDecodeError
exception. This restores the original (implicit) implementation that
was broken in 00a9403.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Reviewed-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py