summaryrefslogtreecommitdiff
path: root/submodule-config.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-05-30 01:17:42 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-05 11:43:33 +0900
commitb48cbfc5e6112952bc3be4dea0208bc5e1f331eb (patch)
tree7db0b1d288cf804cd2b67eca487c2bb94e1f8104 /submodule-config.c
parentdiff- and log- family: handle "git cmd -h" early (diff)
downloadtgif-b48cbfc5e6112952bc3be4dea0208bc5e1f331eb.tar.xz
version: convert to parse-options
The "git version" command didn't traditionally accept any options, and in fact ignores any you give it. When we added simple option parsing for "--build-options" in 6b9c38e14, we didn't improve this; we just loop over the arguments and pick out the one we recognize. Instead, let's move to a real parsing loop, complain about nonsense options, and recognize conventions like "-h". Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.c')
0 files changed, 0 insertions, 0 deletions