magicmonty/bash-git-prompt — pull request #93 by DenJohX (2014-10-17 10:07:01+00:00)
Title: FIX #92 GIT_PROMPT_ONLY_IN_REPO=1 should honor whatever previus prompt was

with GIT_PROMPT_ONLY_IN_REPO=1 when going out of a repo, the previous prompt shoud re-appear, exactly as it was just before enter.