Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-p4 submit: Fix missing quotes around p4 commands to make them work with spaces in filenames
author
Simon Hausmann
<simon@lst.de>
Mon, 11 Jun 2007 21:40:25 +0000
(23:40 +0200)
committer
Simon Hausmann
<simon@lst.de>
Mon, 11 Jun 2007 21:41:41 +0000
(23:41 +0200)
Noticed by Alex Riesen
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
81b462a
)
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 6c199296d39869aae435e95590b776c6ded705a1..21f9ba7e07e8eb577c9ef722fd30f7f30ce9f652 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-391,10
+391,10
@@
class P4Submit(Command):
system(applyPatchCmd)
for f in filesToAdd:
- system("p4 add
%s
" % f)
+ system("p4 add
\"%s\"
" % f)
for f in filesToDelete:
- system("p4 revert
%s
" % f)
- system("p4 delete
%s
" % f)
+ system("p4 revert
\"%s\"
" % f)
+ system("p4 delete
\"%s\"
" % f)
logMessage = ""
if not self.directSubmit: