rev-list: fix segfault with --{author,committer,grep}
commitf69895fb0c5921f5b399f35a71caa9a023776ddf
authorJeff King <peff@peff.net>
Mon, 18 Sep 2006 06:52:42 +0000 (18 02:52 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 20 Sep 2006 18:14:39 +0000 (20 11:14 -0700)
tree107a56c28dd63abc3b0c1881ec3a3c4f58e2e69a
parentbd95fcd34543d7d98bff033c00054341165bc9ce
rev-list: fix segfault with --{author,committer,grep}

We need to save the commit buffer if we're going to match against it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rev-list.c