summaryrefslogtreecommitdiff
path: root/builtin/clean.c
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2013-08-03 11:51:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-08-07 15:37:12 (GMT)
commit84d83f642a680f72f8e81313d605e61bf9efa38f (patch)
tree16d4239bf6a108f972ad40b9e8c8fbf766ad21ad /builtin/clean.c
parent5d4d1440ba992fe27b00f8a56862543bb27561e2 (diff)
downloadgit-84d83f642a680f72f8e81313d605e61bf9efa38f.zip
git-84d83f642a680f72f8e81313d605e61bf9efa38f.tar.gz
git-84d83f642a680f72f8e81313d605e61bf9efa38f.tar.bz2
revert: use the OPT_CMDMODE for parsing, reducing code
The revert command comes with their own implementation of checking for exclusiveness of parameters. Now that the OPT_CMDMODE is in place, we can also rely on that macro instead of cooking that solution for each command itself. This commit also replaces OPT_BOOLEAN, which was deprecated by b04ba2bb (parse-options: deprecate OPT_BOOLEAN, 2011-09-27). Instead OPT_BOOL is used. Signed-off-by: Stefan Beller <stefanbeller@googlemail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clean.c')
0 files changed, 0 insertions, 0 deletions