log: convert to parse-options
authorCarlos Martín Nieto <cmn@elego.de>
Thu, 14 Apr 2011 14:28:30 +0000 (16:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Apr 2011 18:55:50 +0000 (11:55 -0700)
Use parse-options in cmd_log_init instead of manually iterating
through them. This makes the code a bit cleaner but more importantly
allows us to catch the "--quiet" option which causes some of the
log-related commands to misbehave as it would otherwise get passed on
to the diff.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found