Typo in .bashrc.
This commit is contained in:
parent
1d4cb9fb19
commit
5a79342b87
1 changed files with 1 additions and 1 deletions
2
.bashrc
2
.bashrc
|
@ -69,7 +69,7 @@ __prompt_git_status() {
|
|||
git maintenance run --task=prefetch 2>/dev/null || printf "\\033[1;31m%s\\033[39m\\n" "Git maintenance 'prefetch' task failed." >&2
|
||||
}
|
||||
}
|
||||
COUNT="$(git rev-list --count --left-right "${BRANCH:+"refs/prefetch/remotes/origin/$BRANCH"}${BRANCH:-@{upstream\}}...HEAD" 2>/dev/null | tr '[:blank:]' ' ')"
|
||||
COUNT="$(git rev-list --count --left-right "${BRANCH:+refs/prefetch/remotes/origin/}${BRANCH:-@{upstream\}}...HEAD" 2>/dev/null | tr '[:blank:]' ' ')"
|
||||
case "$COUNT" in
|
||||
"")
|
||||
# No upstream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue