diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-09-17 02:13:31 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-10-05 22:48:12 +0000 |
commit | 52de6fa2c7ac26a67027e715d45771cb908eb77c (patch) | |
tree | fe25cc65697dddff611ecffd25e9c3cfbaa2019c /perl | |
parent | git-svn: use path accessor for Git::SVN objects (diff) | |
download | tgif-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.pm | 4 |
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 { |