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>
This commit is contained in:
parent
7d60ab2c15
commit
2c5c1d5300
@ -1098,7 +1098,8 @@ sub read_uuid {
|
|||||||
|
|
||||||
sub verify_ref {
|
sub verify_ref {
|
||||||
my ($ref) = @_;
|
my ($ref) = @_;
|
||||||
eval { command_oneline([ 'rev-parse', $ref ], { STDERR => 0 }) };
|
eval { command_oneline([ 'rev-parse', '--verify', $ref ],
|
||||||
|
{ STDERR => 0 }); };
|
||||||
}
|
}
|
||||||
|
|
||||||
sub repo_path_split {
|
sub repo_path_split {
|
||||||
|
Loading…
Reference in New Issue
Block a user