author | Carlos Martín Nieto <cmn@elego.de> | |
Thu, 14 Apr 2011 14:28:30 +0000 (16:28 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 14 Apr 2011 18:55:50 +0000 (11:55 -0700) | ||
commit | 1c40c36b9acbb55726ea0fcf98714a85e159e45f | |
tree | 7a522cce558313df4ba95913090d81263241aebe | tree | snapshot |
parent | 06ff44951a233c2e3dee4f072430ac68306f9bf0 | commit | diff |
log: convert to parse-options
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>
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>
builtin/log.c | diff | blob | history |