From 52de6fa2c7ac26a67027e715d45771cb908eb77c Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Mon, 17 Sep 2012 02:13:31 -0700 Subject: [PATCH] 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 Signed-off-by: Eric Wong --- perl/Git/SVN.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index 88b91640c..59215fa86 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 { -- 2.26.2