diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-12-28 01:16:21 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-28 01:39:38 -0800 |
commit | 2c5c1d5300e1f5f14b06b8eae77b628626d32045 (patch) | |
tree | 7c0550d3fb27f79978c076eb5b8329c0e3e32cf1 /git-svn.perl | |
parent | 7d60ab2c15ed59169d9512de6aa40811b7940cd2 (diff) | |
download | git-2c5c1d5300e1f5f14b06b8eae77b628626d32045.tar.gz |
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>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |