[fixbug] prompt doesn't work correctly on git 1.8.5.2