Fix indent, Strip traling spaces and convert tabs to spaces

master
Denny Schäfer 12 years ago
parent b905a6fb94
commit 5edb15b73e
  1. 10
      gitprompt.sh

@ -2,9 +2,9 @@
function async_run()
{
{
$1 &> /dev/null
}&
{
$1 &> /dev/null
}&
}
function git_prompt_dir()
@ -110,8 +110,8 @@ function checkUpstream() {
if [[ ! -e "${FETCH_HEAD}" || -e `find "${FETCH_HEAD}" -mmin +${GIT_PROMPT_FETCH_TIMEOUT}` ]]
then
if [[ -n $(git remote show) ]]; then
async_run "git fetch --quiet"
disown
async_run "git fetch --quiet"
disown
fi
fi
}

Loading…
Cancel
Save