From: Eric Wong Date: Thu, 28 Dec 2006 09:16:21 +0000 (-0800) Subject: git-svn: verify_ref() should actually --verify X-Git-Tag: v1.5.0-rc1~166 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c5c1d5300e1f5f14b06b8eae77b628626d32045;p=git.git git-svn: verify_ref() should actually --verify Not sure how I missed this the first time around... Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- 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 {