Code

revisions: refactor handle_revision_opt into parse_revision_opt.
authorPierre Habouzit <madcoder@debian.org>
Wed, 9 Jul 2008 21:38:34 +0000 (23:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Jul 2008 22:14:11 +0000 (15:14 -0700)
commit6b61ec0564993d2e60f7eb56c0f0fd9c313d5e2c
tree75d14aa978400c730ae6494055f189c04535df67
parent14ec9cbdae1991a14aa1cce251e44ea5cfee5ade
revisions: refactor handle_revision_opt into parse_revision_opt.

It seems we're using handle_revision_opt the same way each time, have a
wrapper around it that does the 9-liner we copy each time instead.

handle_revision_opt can be static in the module for now, it's always
possible to make it public again if needed.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c
builtin-shortlog.c
revision.c
revision.h