Merge branch 'ab/parse-options-cleanup'
commitbc32aa1e63218b0011159af4703e1389354c69f9
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Dec 2021 17:39:54 +0000 (15 09:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Dec 2021 17:39:54 +0000 (15 09:39 -0800)
treeef71f37f6d61608d2853e9590830d719618f636b
parent15209c86126a00e8e26ced788019edabf100abaa
parent68611f512c143c15b4a3b968bb5b6ceb933c9ca6
Merge branch 'ab/parse-options-cleanup'

Change the type of an internal function to return an enum (instead
of int) and replace -2 that was used to signal an error with -1.

* ab/parse-options-cleanup:
  parse-options.c: use "enum parse_opt_result" for parse_nodash_opt()
parse-options.c