From d3c3640565be1a271ff7d0f1ae988e90f75c3024 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Wed, 10 Oct 2012 13:47:38 +1300 Subject: [PATCH] Whoops, double sed'd --- lib/git/repo_index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/repo_index.sh b/lib/git/repo_index.sh index ae0b606..fdadcbd 100644 --- a/lib/git/repo_index.sh +++ b/lib/git/repo_index.sh @@ -170,7 +170,7 @@ function is_git_dirty { [[ $(/usr/local/bin/git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" } function parse_git_branch { - /usr/local/bin//usr/local/bin/git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1/" + /usr/local/bin/git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1/" } # If the working directory is clean, update the git repository. Otherwise, show changes.