Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Git.pm: fix example in command_close_bidi_pipe documentation
author
Michal Nazarewicz
<mina86@mina86.com>
Thu, 7 Feb 2013 14:01:18 +0000
(15:01 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 7 Feb 2013 18:37:32 +0000
(10:37 -0800)
File handle goes as the first argument when calling print on it.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1bc760a
)
diff --git
a/perl/Git.pm
b/perl/Git.pm
index bbb753a0ac2b4dbff8b618d25b3efbc42f9ea9e0..11f310af1dcfcb1b4b6803d2fe161258a445e097 100644
(file)
--- a/
perl/Git.pm
+++ b/
perl/Git.pm
@@
-418,7
+418,7
@@
sub command_bidi_pipe {
is:
my ($pid, $in, $out, $ctx) = $r->command_bidi_pipe('cat-file --batch-check');
- print
"000000000\n" $out
;
+ print
$out "000000000\n"
;
while (<$in>) { ... }
$r->command_close_bidi_pipe($pid, $in, $out, $ctx);