support git 1.7