combine-diff: fix appending at the tail of a list.
authorJunio C Hamano <junkio@cox.net>
Wed, 25 Jan 2006 11:34:10 +0000 (03:34 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 28 Jan 2006 08:08:29 +0000 (00:08 -0800)
commit5290a0f8129cc5830390bad3cc6c8034cb23b41c
treeaf56e23be5469742394e1f40ee8373dca6074c54
parentd8f4790e6fe7a9d94468ea83d1370643604d43e5
combine-diff: fix appending at the tail of a list.

... and use the established pattern of tail initialized to point
at the head pointer for an empty list, and updated to point at
the next pointer field of the item at the tail when appending.

Signed-off-by: Junio C Hamano <junkio@cox.net>
combine-diff.c