OSDN Git Service

git-p4: Fix one-liner in p4_write_pipe function.
authorTor Arvid Lund <torarvid@gmail.com>
Thu, 21 Aug 2008 21:11:40 +0000 (23:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Aug 2008 05:40:13 +0000 (22:40 -0700)
The function built a p4 command string via the p4_build_cmd function, but
ignored the result.

Signed-off-by: Tor Arvid Lund <torarvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4

index f9865b4..46136d4 100755 (executable)
@@ -76,7 +76,7 @@ def write_pipe(c, str):
 
 def p4_write_pipe(c, str):
     real_cmd = p4_build_cmd(c)
-    return write_pipe(c, str)
+    return write_pipe(real_cmd, str)
 
 def read_pipe(c, ignore_error=False):
     if verbose: