Code

revisions: allow --glob and friends in parse_options-enabled commands
authorJonathan Nieder <jrnieder@gmail.com>
Thu, 21 Apr 2011 10:48:24 +0000 (05:48 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Apr 2011 17:56:39 +0000 (10:56 -0700)
commit0fc63ec4e7291361b59e12433e5c07117951cf19
tree80f1dc27d40741210cf7799e125f8af3f824180a
parentf6aca0dc4d6b7ed9bf2bff399e3fcb47eafdce4b
revisions: allow --glob and friends in parse_options-enabled commands

As v1.6.0-rc2~42 (2008-07-31) explains, even pseudo-options like --not
and --glob that need to be parsed in order with revisions should be
marked handled by handle_revision_opt to avoid an error when
parse_revision_opt callers like "git shortlog" encounter them.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
t/t6018-rev-list-glob.sh