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
File | Mode | Size |
---|---|---|
buildsystems | ||
completion | ||
contacts | ||
convert-objects | ||
credential | ||
diff-highlight | ||
emacs | ||
examples | ||
fast-import | ||
git-jump | ||
git-shell-commands | ||
gitview | ||
hg-to-git | ||
hooks | ||
mw-to-git | ||
persistent-https | ||
remote-helpers | ||
stats | ||
subtree | ||
svn-fe | ||
thunderbird-patch-inline | ||
workdir | ||
README | -rw-r--r-- | 2.1 KB |
convert-grafts-to-replace-refs.sh | -rwxr-xr-x | 751 bytes |
git-resurrect.sh | -rwxr-xr-x | 4.3 KB |
remotes2config.sh | -rwxr-xr-x | 770 bytes |
rerere-train.sh | -rwxr-xr-x | 1011 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...