Skip to content

Commit

Permalink
Fix hash slice syntax error
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijit Menon-Sen <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
amenonsen authored and gitster committed Aug 5, 2008
1 parent 108c2aa commit 452d36b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions perl/Git.pm
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,8 @@ sub _close_hash_and_insert_object {

my @vars = map { 'hash_object_' . $_ } qw(pid in out ctx);

command_close_bidi_pipe($self->{@vars});
delete $self->{@vars};
command_close_bidi_pipe(@$self{@vars});
delete @$self{@vars};
}

=item cat_blob ( SHA1, FILEHANDLE )
Expand Down Expand Up @@ -929,8 +929,8 @@ sub _close_cat_blob {

my @vars = map { 'cat_blob_' . $_ } qw(pid in out ctx);

command_close_bidi_pipe($self->{@vars});
delete $self->{@vars};
command_close_bidi_pipe(@$self{@vars});
delete @$self{@vars};
}

=back
Expand Down

0 comments on commit 452d36b

Please sign in to comment.