Permalink
Browse files

unset remotes;changed position

  • Loading branch information...
1 parent d6b5c32 commit d6d99d33c143e52b2bb20cedba6fa19be4d887b8 @juanpabloaj juanpabloaj committed with Jun 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-prompt.sh
View
2 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

0 comments on commit d6d99d3

Please sign in to comment.