summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorMartin von Zweigbergk <martin.von.zweigbergk@gmail.com>2011-03-01 01:59:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-05 00:10:06 (GMT)
commit45e2acf3d33b2bc635f14af0c1d9ce698328954f (patch)
tree338b3f449d1c815e15551c54dad54f755c96c43f /show-index.c
parentfdb76c104af5196fe1faf6d84209daf752e87010 (diff)
downloadgit-45e2acf3d33b2bc635f14af0c1d9ce698328954f.zip
git-45e2acf3d33b2bc635f14af0c1d9ce698328954f.tar.gz
git-45e2acf3d33b2bc635f14af0c1d9ce698328954f.tar.bz2
rebase: define options in OPTIONS_SPEC
Interactive rebase used to have its own command line processing. Since it used the 'git rev-parse --parseopt' functionality exposed through git-sh-setup, it had some flexibility, like matching prefixes of long options, that non-interactive rebase didn't. When interactive rebase's command line processing was factored out into git-rebase.sh in cf432ca (rebase: factor out command line option processing, 2011-02-06), this flexibility was lost. Give back that flexibility to interactive and non-interactive by defining its options in OPTIONS_SPEC. Also improve the usage message to contain the --continue, --skip and --abort sub commands. Reported-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'show-index.c')
0 files changed, 0 insertions, 0 deletions