author | Pierre Habouzit <madcoder@debian.org> | |
Wed, 9 Jul 2008 21:38:34 +0000 (23:38 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 9 Jul 2008 22:14:11 +0000 (15:14 -0700) | ||
commit | 6b61ec0564993d2e60f7eb56c0f0fd9c313d5e2c | |
tree | 75d14aa978400c730ae6494055f189c04535df67 | tree | snapshot |
parent | 14ec9cbdae1991a14aa1cce251e44ea5cfee5ade | commit | diff |
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>
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 | diff | blob | history | |
builtin-shortlog.c | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history |