summaryrefslogtreecommitdiff
path: root/t/t9822-git-p4-path-encoding.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-09-03git-p4: add config git-p4.pathEncodingLibravatar Lars Schneider1-0/+58
Perforce keeps the encoding of a path as given by the originating OS. Git expects paths encoded as UTF-8. Add a config to tell git-p4 what encoding Perforce had used for the paths. This encoding is used to transcode the paths to UTF-8. As an example, Perforce on Windows often uses “cp1252” to encode path names. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Acked-by: Luke Diamand <luke@diamand.org> Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>