revisions: initialize revs->grep_filter using grep_init()
commit918d4e1c907983d26b0c4d82d7f7abff4dbec4e5
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Oct 2012 23:40:03 +0000 (9 16:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Oct 2012 06:21:29 +0000 (9 23:21 -0700)
tree482617f59391d949c55002d1fe026870d02f1ba0
parentc5c31d3381d11903c01d51aff4437fe9f76d0268
revisions: initialize revs->grep_filter using grep_init()

Instead of using the hand-rolled initialization sequence,
use grep_init() to populate the necessary bits.  This opens
the door to allow the calling commands to optionally read
grep.* configuration variables via git_config() if they
want to.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c
revision.c