Skip to contentSkip to conversation

git-p4: Fix one-liner in p4_write_pipe function.

PATCH In review Tor Arvid Lund 3 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-p4: Fix one-liner in p4_write_pipe function.

The function built a p4 command string via the p4_build_cmd function, but ignored the result.

---
 contrib/fast-import/git-p4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
contrib/fast-import/git-p4 +1 -1
index f9865b4..46136d4 100755
@@ -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:
Signature · 1 line
1.6.0.GIT
#2 lore raw
Quoted 2 lines · Junio C Hamano

Looks obviously correct. Mind if I forge your sign-off?

Heh, that'll be fine. I don't submit patches that often, so I just forgot - sorry ;-)

-Tor Arvid-

#3 lore raw
In reply to Tor Arvid Lund
Quoted 2 lines · Tor Arvid Lund

The function built a p4 command string via the p4_build_cmd function, but ignored the result.

Opps - thanks for catching this.

Anand