grep: use parseopt
commit3e230fa1b2ba3aa1a207c4399a1b93e41b103dfb
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 7 May 2009 19:46:48 +0000 (7 21:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 May 2009 07:29:56 +0000 (9 00:29 -0700)
tree9062472759073a0a7039996909f7992fd6c7eec3
parent1b5fb44ad1131112fcc2b2b082fda61260e31570
grep: use parseopt

Convert git-grep to parseopt.

The bitfields in struct grep_opt are converted to full ints,
increasing its size.  This shouldn't be a problem as there is only a
single instance in memory.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c
grep.h