]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/add.c
builtin/add.c: simplify boolean variables
authorJunio C Hamano <gitster@pobox.com>
Sat, 9 Mar 2013 06:21:13 +0000 (22:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Mar 2013 06:21:13 +0000 (22:21 -0800)
commit300c0a2209b753da1075770f7b696b1814c010f7
tree99d69cb2a4d635c09c30a47788fa851a078b6dc4
parent5cae93566027c1d148c9f6625aed484a7096a980
builtin/add.c: simplify boolean variables

Do not to explicitly initialize static variables to 0 and instead
let BSS take care of it.  Also use OPT_BOOL() to let the command
line arguments set these variables to 0 or 1, instead of the
deprecated OPT_BOOLEAN() aka OPT_COUNTUP().

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c