summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-09-18 00:09:31 (GMT)
committerEric Wong <normalperson@yhbt.net>2012-10-05 22:48:12 (GMT)
commitf3045919d148b443158d2b64a5a73375286514c1 (patch)
tree749d9d0abc445bbbf10a47cf6aa9b1fed3cd1b0d /git-svn.perl
parent9478b11968d61085bb4c4343395b6f52ce06380f (diff)
downloadgit-f3045919d148b443158d2b64a5a73375286514c1.zip
git-f3045919d148b443158d2b64a5a73375286514c1.tar.gz
git-f3045919d148b443158d2b64a5a73375286514c1.tar.bz2
git-svn: use path accessor for Git::SVN objects
The accessors should improve maintainability and enforce consistent access to Git::SVN objects. Signed-off-by: Eric Wong <normalperson@yhbt.net> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 0d77ffb..bd5266c 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -1314,7 +1314,7 @@ sub get_svnprops {
$path = $cmd_dir_prefix . $path;
fatal("No such file or directory: $path") unless -e $path;
my $is_dir = -d $path ? 1 : 0;
- $path = join_paths($gs->{path}, $path);
+ $path = join_paths($gs->path, $path);
# canonicalize the path (otherwise libsvn will abort or fail to
# find the file)