diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-27 22:37:10 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-27 22:37:10 +0300 |
commit | 96679164e3e517b1e9bdec1aa6523e2e8ac1ca52 (patch) | |
tree | 50106b463ae63fbb5cba50df62a1dc48ee677cc8 /prompt | |
parent | Makefile: relsease target (diff) | |
download | git-prompt-96679164e3e517b1e9bdec1aa6523e2e8ac1ca52.tar.gz git-prompt-96679164e3e517b1e9bdec1aa6523e2e8ac1ca52.tar.bz2 git-prompt-96679164e3e517b1e9bdec1aa6523e2e8ac1ca52.zip |
correctly works inside .git/
Diffstat (limited to 'prompt')
-rw-r--r-- | prompt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ parse_git_dir() { git_dir=`git-rev-parse --git-dir 2> /dev/null` - [[ $git_dir ]] || return 1 + [[ -n ${git_dir/./} ]] || return 1 vcs=git |