aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-12-28 01:16:21 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-28 01:39:38 -0800
commit2c5c1d5300e1f5f14b06b8eae77b628626d32045 (patch)
tree7c0550d3fb27f79978c076eb5b8329c0e3e32cf1
parent7d60ab2c15ed59169d9512de6aa40811b7940cd2 (diff)
downloadgit-2c5c1d5300e1f5f14b06b8eae77b628626d32045.tar.gz
git-2c5c1d5300e1f5f14b06b8eae77b628626d32045.tar.xz
git-svn: verify_ref() should actually --verify
Not sure how I missed this the first time around... Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-svn.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index a772ce81e..74a3424b7 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -1098,7 +1098,8 @@ sub read_uuid {
sub verify_ref {
my ($ref) = @_;
- eval { command_oneline([ 'rev-parse', $ref ], { STDERR => 0 }) };
+ eval { command_oneline([ 'rev-parse', '--verify', $ref ],
+ { STDERR => 0 }); };
}
sub repo_path_split {