summaryrefslogtreecommitdiff
path: root/commit-slab.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-23 23:10:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-23 23:25:20 (GMT)
commit16e57aec7f672fabe38fa0e4d39252eb9c7a1563 (patch)
treec1663dcb15f7ebd0ee73782b00afcb68562e2c76 /commit-slab.h
parentd5d09d475440c24016ec52a0bcc8477d9a7b5c71 (diff)
downloadgit-16e57aec7f672fabe38fa0e4d39252eb9c7a1563.zip
git-16e57aec7f672fabe38fa0e4d39252eb9c7a1563.tar.gz
git-16e57aec7f672fabe38fa0e4d39252eb9c7a1563.tar.bz2
merge-base: use OPT_CMDMODE and clarify the command line parsing
The --octopus, --independent and --is-ancestor are mutually exclusive command modes (in addition to not giving any of these options), so represent them as such using the recent OPT_CMDMODE facility available since 11588263 (parse-options: add OPT_CMDMODE(), 2013-07-30), which is in v1.8.4-82-g366b80b. --all is compatible only with plain vanilla mode and --octopus mode, and the minimum number of arguments the command takes depends on the command modes, so these are now separately checked in each command mode. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-slab.h')
0 files changed, 0 insertions, 0 deletions