summaryrefslogtreecommitdiff
path: root/sigchain.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-05-30 05:17:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-05 02:43:33 (GMT)
commitb48cbfc5e6112952bc3be4dea0208bc5e1f331eb (patch)
tree7db0b1d288cf804cd2b67eca487c2bb94e1f8104 /sigchain.h
parent5a88f97cff0f269f8b2069b17c9da05ee66c98bb (diff)
downloadgit-b48cbfc5e6112952bc3be4dea0208bc5e1f331eb.zip
git-b48cbfc5e6112952bc3be4dea0208bc5e1f331eb.tar.gz
git-b48cbfc5e6112952bc3be4dea0208bc5e1f331eb.tar.bz2
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 'sigchain.h')
0 files changed, 0 insertions, 0 deletions