use only one git add command in precommit