summaryrefslogtreecommitdiff
path: root/check-ref-format.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-26 16:55:25 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-26 16:55:25 -0700
commit5981e09999e90b389a02843671529a0faaf72143 (patch)
tree0334be8483eb8abe0b1e42664cd11ef16db055c4 /check-ref-format.c
parentFix filename verification when in a subdirectory (diff)
downloadtgif-5981e09999e90b389a02843671529a0faaf72143.tar.xz
commit-tree.c: check_valid() microoptimization.
There is no point reading the whole object just to make sure it exists and it is of the expected type. We added sha1_object_info() for such need after this code was written, so use it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'check-ref-format.c')
0 files changed, 0 insertions, 0 deletions