summaryrefslogtreecommitdiff
path: root/builtin-update-ref.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-21 00:41:38 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-21 00:41:38 -0700
commit46014766bdacec8ad22355ce78898b895bf172d6 (patch)
tree47e714fdeb60a38f6b592e168a8a6bc3604c638d /builtin-update-ref.c
parentgit-pickaxe: do not keep commit buffer. (diff)
downloadtgif-46014766bdacec8ad22355ce78898b895bf172d6.tar.xz
git-pickaxe: do not confuse two origins that are the same.
It used to be that we can compare the address of the origin structure to determine if they are the same because they are always registered with scoreboard. After introduction of the loop to try finding the best split, that is not true anymore. The current code has rather serious leaks with origin structure, but more importantly it gets confused when two origins that points at the same commit and same path. We might eventually have to refcount and gc origin, but let's fix the correctness issue first. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-update-ref.c')
0 files changed, 0 insertions, 0 deletions