From 2c5c1d5300e1f5f14b06b8eae77b628626d32045 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 28 Dec 2006 01:16:21 -0800 Subject: [PATCH] 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 --- git-svn.perl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {