Skip to content

Commit

Permalink
Git::SVN: rename private path field
Browse files Browse the repository at this point in the history
All users of $gs->{path} should have been converted to use the
accessor by now.  Check our work by renaming the underlying variable
to break callers that try to use it directly.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
  • Loading branch information
Jonathan Nieder authored and Eric Wong committed Oct 5, 2012
1 parent f304591 commit 52de6fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perl/Git/SVN.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2331,11 +2331,11 @@ sub path {

if (@_) {
my $path = shift;
$self->{path} = canonicalize_path($path);
$self->{_path} = canonicalize_path($path);
return;
}

return $self->{path};
return $self->{_path};
}

sub url {
Expand Down

0 comments on commit 52de6fa

Please sign in to comment.