author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sat, 20 Jan 2007 21:28:16 +0000 (22:28 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 21 Jan 2007 06:58:42 +0000 (22:58 -0800) | ||
commit | a6c730644b7e1d35bd0d26962dbc978aa47d1863 | |
tree | 1662a895991e20bfe0f0036c10137e93b05b872d | tree | snapshot |
parent | 40ab7c33cd6dfdf887ed15baee1325ee445eced7 | commit | diff |
--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>
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 | diff | blob | history |