diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-08 22:21:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-08 22:21:13 -0800 |
commit | 300c0a2209b753da1075770f7b696b1814c010f7 (patch) | |
tree | 99d69cb2a4d635c09c30a47788fa851a078b6dc4 /t/t2200-add-update.sh | |
parent | 5cae93566027c1d148c9f6625aed484a7096a980 (diff) | |
download | git-300c0a2209b753da1075770f7b696b1814c010f7.tar.gz |
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>
Diffstat (limited to 't/t2200-add-update.sh')
0 files changed, 0 insertions, 0 deletions