author | Pete Wyckoff <pw@padd.com> | |
Sat, 19 Feb 2011 13:18:00 +0000 (08:18 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Feb 2011 17:58:38 +0000 (09:58 -0800) | ||
commit | 084f6306d4b7b27a5d12236e808604220b8b3e3f | |
tree | 95b748b2f0972d331bc72c8f90a11bf35c237387 | tree | snapshot |
parent | e32e00dc88948a730b8b1f3b8129f30c313713e7 | commit | diff |
git-p4: decode p4 wildcard characters
There are four wildcard characters in p4. Files with these
characters can be added to p4 repos using the "-f" option.
They are stored in %xx notation, and when checked out, p4
converts them back to normal.
This patch does the same thing when importing into git,
converting the four special characters. Without this change,
the files appear with literal %xx in their names.
Be careful not to produce "*" in filenames on windows. That
will fail.
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
There are four wildcard characters in p4. Files with these
characters can be added to p4 repos using the "-f" option.
They are stored in %xx notation, and when checked out, p4
converts them back to normal.
This patch does the same thing when importing into git,
converting the four special characters. Without this change,
the files appear with literal %xx in their names.
Be careful not to produce "*" in filenames on windows. That
will fail.
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4 | diff | blob | history | |
t/t9800-git-p4.sh | diff | blob | history |