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>
Eric Wong committed
Dec 28, 2006 at 01:16 UTC
2c5c1d5300e1f5f14b06b8eae77b628626d32045
1 file changed
+2
-1
git-svn.perl
+2
-1
@@ -1098,7 +1098,8 @@ sub read_uuid {
1098
1099
sub verify_ref {
1100
my ($ref) = @_;
1101
- eval { command_oneline([ 'rev-parse', $ref ], { STDERR => 0 }) };
1101
+ eval { command_oneline([ 'rev-parse', '--verify', $ref ],
1102
+ { STDERR => 0 }); };
1103
}
1104
1105
sub repo_path_split {