commit | 6b61ec0564993d2e60f7eb56c0f0fd9c313d5e2c | [log] [tgz] |
---|---|---|
author | Pierre Habouzit <madcoder@debian.org> | Wed Jul 09 23:38:34 2008 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Jul 09 15:14:11 2008 -0700 |
tree | 75d14aa978400c730ae6494055f189c04535df67 | |
parent | 14ec9cbdae1991a14aa1cce251e44ea5cfee5ade [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>