summaryrefslogtreecommitdiff
path: root/git-prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-prompt.sh')
-rwxr-xr-xgit-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index a6508c5..2832729 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -9,7 +9,6 @@
unset dir_color rc_color user_id_color root_id_color init_vcs_color clean_vcs_color
unset modified_vcs_color added_vcs_color addmoded_vcs_color untracked_vcs_color op_vcs_color detached_vcs_color hex_vcs_color
unset rawhex_len
- unset remotes
conf=git-prompt.conf; [[ -r $conf ]] && . $conf
conf=/etc/git-prompt.conf; [[ -r $conf ]] && . $conf
@@ -583,6 +582,7 @@ parse_vcs_status() {
unset vcs vcs_info
unset status modified untracked added init detached
unset file_list modified_files untracked_files added_files
+ unset remotes
[[ $vcs_ignore_dir_list =~ $PWD ]] && return