No useless comments

This commit is contained in:
Arialdo Martini 2013-11-13 12:54:35 +01:00
parent 69223aa1a3
commit 1d2bf8ac66

View File

@ -45,7 +45,6 @@ function build_prompt {
if [[ $git_status =~ ($'\n'|^)[MAD] && ! $git_status =~ ^.[MAD\?] ]]; then ready_to_commit=true; else ready_to_commit=false; fi if [[ $git_status =~ ($'\n'|^)[MAD] && ! $git_status =~ ^.[MAD\?] ]]; then ready_to_commit=true; else ready_to_commit=false; fi
#xxx
number_of_untracked_files=`echo $git_status | grep -c "^??"` number_of_untracked_files=`echo $git_status | grep -c "^??"`
if [[ $number_of_untracked_files -gt 0 ]]; then has_untracked_files=true; else has_untracked_files=false; fi if [[ $number_of_untracked_files -gt 0 ]]; then has_untracked_files=true; else has_untracked_files=false; fi