Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
peel_ref: use faster deref_tag_noverify
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index da74a2b29a20a2c94fef61641e35980007c1ab95..0a916a0c2aafea1c87333dee2da595d58db3f9e6 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1225,7
+1225,7
@@
int peel_ref(const char *refname, unsigned char *sha1)
fallback:
o = parse_object(base);
if (o && o->type == OBJ_TAG) {
- o = deref_tag
(o, refname, 0
);
+ o = deref_tag
_noverify(o
);
if (o) {
hashcpy(sha1, o->sha1);
return 0;