From: Luke Diamand <luke@diamand.org>
To: Git List <git@vger.kernel.org>
Subject: BUG: git-p4: can't add files with special chars
Date: Mon, 12 Dec 2011 20:48:10 +0000 [thread overview]
Message-ID: <4EE6688A.2030105@diamand.org> (raw)
I just noticed this today. You can't add a file from git to perforce
that contains a p4 special character (@,#,% or *).
There is code to cope going the other way round (p4 file with special
character in it) but if you create a file in git and then try to git-p4
submit, it fails.
I've just tried a quick and simple fix, and it turns out that it's not
that easy as the special characters get expanded to %40, %2A and so-on.
The % seems to get further expanded by python...
Luke
next reply other threads:[~2011-12-12 20:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 20:48 Luke Diamand [this message]
2011-12-17 13:27 ` BUG: git-p4: can't add files with special chars Pete Wyckoff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EE6688A.2030105@diamand.org \
--to=luke@diamand.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).