don't output git warning twice