--walk-reflogs: do not crash with cyclic reflog ancestry
commita6c730644b7e1d35bd0d26962dbc978aa47d1863
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 20 Jan 2007 21:28:16 +0000 (20 22:28 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 21 Jan 2007 06:58:42 +0000 (20 22:58 -0800)
tree1662a895991e20bfe0f0036c10137e93b05b872d
parent40ab7c33cd6dfdf887ed15baee1325ee445eced7
--walk-reflogs: do not crash with cyclic reflog ancestry

Since you can reset --hard to any revision you already had, when
traversing the reflog ancestry, we may not free() the commit buffer.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c