Skip to content

Commit 52de6fa

Browse files
jrnEric Wong
authored andcommitted
Git::SVN: rename private path field
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 <[email protected]> Signed-off-by: Eric Wong <[email protected]>
1 parent f304591 commit 52de6fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perl/Git/SVN.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,11 +2331,11 @@ sub path {
23312331

23322332
if (@_) {
23332333
my $path = shift;
2334-
$self->{path} = canonicalize_path($path);
2334+
$self->{_path} = canonicalize_path($path);
23352335
return;
23362336
}
23372337

2338-
return $self->{path};
2338+
return $self->{_path};
23392339
}
23402340

23412341
sub url {

0 commit comments

Comments
 (0)