1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-06 09:13:01 +01:00

git-pickaxe: refcount origin correctly in find_copy_in_parent()

This makes "git-pickaxe -C master -- revision.c" to finish with
proper refcounts for all origins.  I am reasonably happy with
it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2006-10-29 23:56:12 -08:00
parent 2c40f98439
commit f5f75c652b

View file

@ -852,6 +852,7 @@ static int find_copy_in_parent(struct scoreboard *sb,
this, &file_p);
copy_split_if_better(sb, blame_list[j].split,
this);
decref_split(this);
}
free(blob);
origin_decref(norigin);