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 <jrnieder@gmail.com> Signed-off-by: Eric Wong <normalperson@yhbt.net>
Jonathan Nieder committed
Sep 17, 2012 at 02:13 UTC
52de6fa2c7ac26a67027e715d45771cb908eb77c
1 file changed
+2
-2
perl/Git/SVN.pm
+2
-2
@@ -2331,11 +2331,11 @@ sub path {
2331
2332
if (@_) {
2333
my $path = shift;
2334
- $self->{path} = canonicalize_path($path);
2334
+ $self->{_path} = canonicalize_path($path);
2335
return;
2336
}
2337
2338
- return $self->{path};
2338
+ return $self->{_path};
2339
}
2340
2341
sub url {