From: Jerzy Kozera <jerzy.kozera@gmail.com>
To: git@vger.kernel.org
Cc: Jerzy Kozera <jerzy.kozera@gmail.com>
Subject: [PATCH] git-p4: Fix 'p4 opened' in git-p4 for names with spaces
Date: Tue, 14 Dec 2010 20:56:05 +0000 [thread overview]
Message-ID: <1292360165-26771-2-git-send-email-jerzy.kozera@gmail.com> (raw)
In-Reply-To: <1292360165-26771-1-git-send-email-jerzy.kozera@gmail.com>
Signed-off-by: Jerzy Kozera <jerzy.kozera@gmail.com>
---
contrib/fast-import/git-p4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index 04ce7e3..a5297e7 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -144,7 +144,7 @@ def setP4ExecBit(file, mode):
def getP4OpenedType(file):
# Returns the perforce file type for the given file.
- result = p4_read_pipe("opened %s" % file)
+ result = p4_read_pipe("opened \"%s\"" % file)
match = re.match(".*\((.+)\)\r?$", result)
if match:
return match.group(1)
--
1.6.5.2
next prev parent reply other threads:[~2010-12-14 20:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-14 20:56 [PATCH] git-p4: Fix 'p4 opened' in git-p4 for names with spaces Jerzy Kozera
2010-12-14 20:56 ` Jerzy Kozera [this message]
2010-12-14 23:16 ` Junio C Hamano
2010-12-14 23:36 ` Reece Dunn
2011-01-13 18:51 ` [PATCH] git-p4: Fixed handling of file " Jerzy Kozera
2011-01-14 22:01 ` Andreas Schwab
2011-01-14 22:45 ` Jerzy Kozera
2011-01-15 14:35 ` 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=1292360165-26771-2-git-send-email-jerzy.kozera@gmail.com \
--to=jerzy.kozera@gmail.com \
--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).