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 /perl | |
parent | add: Clarify documentation of -A and -u (diff) | |
download | tgif-300c0a2209b753da1075770f7b696b1814c010f7.tar.xz |
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 'perl')
0 files changed, 0 insertions, 0 deletions