Merge pull request #64 from jcarouth/master

Get rid of "Fatal error: not a git repository…" errors
This commit is contained in:
Travis Swicegood
2011-06-27 21:13:15 -07:00

View File

@@ -17,11 +17,12 @@ fi
doubletime_scm_prompt() {
CHAR=$(scm_char)
if [ $CHAR = $SCM_NONE_CHAR ]
then
if [ $CHAR = $SCM_NONE_CHAR ]; then
return
else
elif [ $CHAR = $SCM_GIT_CHAR ]; then
echo "$(git_prompt_status)"
else
echo "[$(scm_prompt_info)]"
fi
}