Merge branch 'nd/parse-options-aliases'
commit2cfab6087790ceeb81eb91eeb1300500cfa4c948
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 May 2019 07:45:28 +0000 (19 16:45 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 May 2019 07:45:28 +0000 (19 16:45 +0900)
tree12b60cadde36404d455a1adc53bc626af4704565
parent4ac8371a1ce0df07a2c3389d6acf6c35207a54fa
parent5c387428f10c27c24d3adb890cd466e2300518fa
Merge branch 'nd/parse-options-aliases'

Attempt to use an abbreviated option in "git clone --recurs" is
responded by a request to disambiguate between --recursive and
--recurse-submodules, which is bad because these two are synonyms.
The parse-options API has been extended to define such synonyms
more easily and not produce an unnecessary failure.

* nd/parse-options-aliases:
  parse-options: don't emit "ambiguous option" for aliases
builtin/clone.c
parse-options.h