summaryrefslogtreecommitdiff
path: root/builtin-pack-refs.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-19 06:13:33 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-11-20 02:44:29 (GMT)
commitef06b91804ff5a626e265c6d9080bbc0e7924e88 (patch)
treea73de6571e4d96a0277ab2528a34cc993eb75bf6 /builtin-pack-refs.c
parent6c96c0f1940b0247530d21b10042d16bf1e7b769 (diff)
downloadgit-ef06b91804ff5a626e265c6d9080bbc0e7924e88.zip
git-ef06b91804ff5a626e265c6d9080bbc0e7924e88.tar.gz
git-ef06b91804ff5a626e265c6d9080bbc0e7924e88.tar.bz2
do_for_each_ref: perform the same sanity check for leftovers.
An earlier commit b37a562a added a check to see if the ref points at a valid object (as a part of 'negative ref' support which we currently do not use), but did so only while iterating over both packed and loose refs, and forgot to apply the same check while iterating over the remaining ones. We might want to replace the "if null then omit it" check with "eh --- what business does a 0{40} value have here?" complaint later since we currently do not use negative refs, but that is a separate issue. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-pack-refs.c')
0 files changed, 0 insertions, 0 deletions