diff --git a/git-svn.perl b/git-svn.perl index a772ce81e7..74a3424b76 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 {