From: Eric Wong Date: Thu, 28 Dec 2006 09:16:21 GMT Subject: [PATCH 3/4] git-svn: verify_ref() should actually --verify Message-ID: <1167297385162-git-send-email-normalperson@yhbt.net> In-Reply-To: <11672973823960-git-send-email-normalperson@yhbt.net> Not sure how I missed this the first time around... Signed-off-by: Eric Wong --- git-svn.perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index a772ce8..74a3424 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 { -- 1.4.4.3.gd4ada