projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d60ab2
)
git-svn: verify_ref() should actually --verify
author
Eric Wong
<normalperson@yhbt.net>
Thu, 28 Dec 2006 09:16:21 +0000
(
01:16
-0800)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 28 Dec 2006 09:39:38 +0000
(
01:39
-0800)
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>
git-svn.perl
patch
|
blob
|
history
diff --git
a/git-svn.perl
b/git-svn.perl
index a772ce81e734d44adece95ee6f6c4e2f7e095d9d..74a3424b763ee63a7b2bcf0b79c028db3205210d 100755
(executable)
--- 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 {