echo"[1;31mWARNING[0m: neither a find that supports -mmin (such as GNU find) or perl is available, disabling remote status checking. Install GNU find as gfind or perl to enable this feature, or set GIT_PROMPT_FETCH_REMOTE_STATUS=0 to disable this warning." >&2
echo >&2
GIT_PROMPT_FETCH_REMOTE_STATUS=0
return1
fi
}
function checkUpstream(){
function checkUpstream(){
local GIT_PROMPT_FETCH_TIMEOUT
local GIT_PROMPT_FETCH_TIMEOUT
git_prompt_config
git_prompt_config
localFETCH_HEAD="$repo/.git/FETCH_HEAD"
localFETCH_HEAD="$repo/.git/FETCH_HEAD"
# Fech repo if local is stale for more than $GIT_FETCH_TIMEOUT minutes
# Fech repo if local is stale for more than $GIT_FETCH_TIMEOUT minutes