diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-15 06:43:41 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-15 06:43:41 +0300 |
commit | 64ca1cf7851edbe7decaca0db9b53438b5bf2acd (patch) | |
tree | 2bbe26fe839a3c898fc8fd395d8a6bfb6c5c9985 | |
parent | git status correctly sorted, all modified, added, untracked are displayed in ... (diff) | |
download | git-prompt-64ca1cf7851edbe7decaca0db9b53438b5bf2acd.tar.gz git-prompt-64ca1cf7851edbe7decaca0db9b53438b5bf2acd.tar.bz2 git-prompt-64ca1cf7851edbe7decaca0db9b53438b5bf2acd.zip |
$GIT_DIR used
-rwxr-xr-x | prompt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -234,7 +234,7 @@ PROMPT_COMMAND=' # LOCAL # GIT - if [[ -d .git || -d ../.git || -d ../../.git ]]; then + if [[ -n $DIT_DIR && -d $GIT_DIR || -d .git || -d ../.git || -d ../../.git ]]; then ### status # clean(blue) nothing to commit (working directory clean) |