summaryrefslogtreecommitdiff
path: root/git-prompt.sh
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2010-02-18 09:05:28 +0200
committerLeonid Volnitsky <Leonid@Volnitsky.com>2010-02-18 09:14:50 +0200
commitb5475e623c3435c57ab820412e8c38d46113abc5 (patch)
tree49a13f2f1b4c91905aa8981e97c6841307fba3db /git-prompt.sh
parentCheck LC_CTYPE in stead of LC_LANG. (diff)
downloadgit-prompt-b5475e623c3435c57ab820412e8c38d46113abc5.tar.gz
git-prompt-b5475e623c3435c57ab820412e8c38d46113abc5.tar.bz2
git-prompt-b5475e623c3435c57ab820412e8c38d46113abc5.zip
-- docs
Diffstat (limited to 'git-prompt.sh')
-rwxr-xr-xgit-prompt.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 8ddbda8..650d3ef 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -355,6 +355,8 @@ parse_svn_status() {
parse_hg_status() {
+ # ☿
+
[[ -d ./.hg/ ]] || return 1
vcs=hg