builtin-add.c: optimize -A option and "git add ."