aboutsummaryrefslogtreecommitdiff
path: root/exec_cmd.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-04-21 05:45:07 -0500
committerJunio C Hamano <gitster@pobox.com>2011-04-21 10:56:28 -0700
commitf6aca0dc4d6b7ed9bf2bff399e3fcb47eafdce4b (patch)
treeecde2ded119515d961a678a37132e7ca856e55f3 /exec_cmd.h
parent6ceb270ce6f65cf4bc2a22830f96e0cc838b3fec (diff)
downloadgit-f6aca0dc4d6b7ed9bf2bff399e3fcb47eafdce4b.tar.gz
git-f6aca0dc4d6b7ed9bf2bff399e3fcb47eafdce4b.tar.xz
revisions: split out handle_revision_pseudo_opt function
As v1.6.0-rc2~42 (Allow "non-option" revision options in parse_option-enabled commands, 2008-07-31) explains, options handled by setup_revisions fall into two categories: 1. global options like --topo-order handled by parse_revision_opt, which can take detached arguments and can be parsed in advance; 2. pseudo-options that must be parsed in order with their revision counterparts, like --not and --all. The global options are taken care of by handle_revision_opt; the pseudo-options are currently in a deeply indented portion of setup_revisions. Give them their own function for easier reading. The only goal is to make setup_revisions easier to read straight through. No functional change intended. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'exec_cmd.h')
0 files changed, 0 insertions, 0 deletions