Permalink
Browse files

cleanup.

  • Loading branch information...
wayneeseguin committed Aug 9, 2011
1 parent b5d6f5a commit dbdefde49ed791fbb8c01350dec73bc298b5a523
Showing with 1 addition and 3 deletions.
  1. +1 −3 contrib/ps1_functions
View
@@ -51,9 +51,7 @@ ps1_git()
return 0
}
- branch=$(git symbolic-ref -q HEAD 2>/dev/null) ||
- && return 0 # Not in a git repo, no need to continue.
-
+ branch=$(git symbolic-ref -q HEAD 2>/dev/null) || return 0 # Not in git repo.
branch=${branch##refs/heads/}
# Now we display the branch.

0 comments on commit dbdefde

Please sign in to comment.