Skip to content

Commit

Permalink
git-svn: verify_ref() should actually --verify
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Dec 28, 2006
1 parent 7d60ab2 commit 2c5c1d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2c5c1d5

Please sign in to comment.