Code

Only use double quotes on Windows
authorMarius Storm-Olsen <mstormo_git@storm-olsen.com>
Tue, 12 Jun 2007 13:27:52 +0000 (15:27 +0200)
committerMarius Storm-Olsen <mstormo_git@storm-olsen.com>
Tue, 12 Jun 2007 13:27:52 +0000 (15:27 +0200)
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
contrib/fast-import/git-p4

index 1168704be44a8bc5a7184dba6a5d8242056bdefc..b3f27fe90f21158cec74e1b8c276be81d92b61a9 100755 (executable)
@@ -180,7 +180,7 @@ def findUpstreamBranchPoint():
             parent = parent + 1
             continue
 
-        names = read_pipe_lines("git name-rev '--refs=refs/remotes/p4/*' '%s'" % commit)
+        names = read_pipe_lines("git name-rev \"--refs=refs/remotes/p4/*\" \"%s\"" % commit)
         if len(names) <= 0:
             continue