diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-12-07 12:02:53 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-09 11:24:16 -0800 |
commit | 212c0a6ff2993530a1dadee9dfbbce9dc350b1d1 (patch) | |
tree | b80c1cd06e92f72b375de2f90e55f4d9dea51965 /t/lib-rebase.sh | |
parent | Git 1.8.5 (diff) | |
download | tgif-212c0a6ff2993530a1dadee9dfbbce9dc350b1d1.tar.xz |
parse-options: remove OPT_BOOLEAN
After a86a8b9 (sb/parseopt-boolean-removal), the deprecated
OPT_BOOLEAN is not used anywhere except by OPT__* macros. Kill
OPT_BOOLEAN and make OPT__* use OPT_COUNTUP directly instead. This
should stop OPT_BOOLEAN from entering the tree again in new patches.
OPT__DRY_RUN() is converted to use OPT_BOOL though because it does not
make sense to increase the level of dryness. All OPT__DRY_RUN call
sites have been checked and they look safe for OPT_BOOL.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-rebase.sh')
0 files changed, 0 insertions, 0 deletions