summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2012-09-17 02:13:31 -0700
committerLibravatar Eric Wong <normalperson@yhbt.net>2012-10-05 22:48:12 +0000
commit52de6fa2c7ac26a67027e715d45771cb908eb77c (patch)
treefe25cc65697dddff611ecffd25e9c3cfbaa2019c /perl
parentgit-svn: use path accessor for Git::SVN objects (diff)
downloadtgif-52de6fa2c7ac26a67027e715d45771cb908eb77c.tar.xz
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>
Diffstat (limited to 'perl')
-rw-r--r--perl/Git/SVN.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm
index 88b91640c2..59215fa86e 100644
--- a/perl/Git/SVN.pm
+++ b/perl/Git/SVN.pm
@@ -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 {