-
Committer:
Dario Bertini
-
Date:
2012-08-10 18:57:19 UTC
-
Revision ID:
berdario@gmail.com-20120810185719-wl9h5nny41wic6xc
Now the prompt shows the branch name even when in a subfolder
Since this requires calling the git or hg command, it could heavily slow down
the function: thus I now save the previous branch name and recalculate it only if the pwd changed