Revision a8b05162e894b88aeb7d5064daba07e1a4f58463 authored by Lars Schneider on 09 February 2017, 15:06:56 UTC, committed by Junio C Hamano on 10 February 2017, 22:33:13 UTC
In a9e38359e3 we taught git-p4 a way to re-encode path names from what
was used in Perforce to UTF-8. This path re-encoding worked properly for
"added" paths. "Removed" paths were not re-encoded and therefore
different from the "added" paths. Consequently, these files were not
removed in a git-p4 cloned Git repository because the path names did not
match.

Fix this by moving the re-encoding to a place that affects "added" and
"removed" paths. Add a test to demonstrate the issue.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Reviewed-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 50b4a78
History
File Mode Size
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 579 bytes
sha1ppc.S -rw-r--r-- 7.3 KB

back to top