Permalink
Browse files

Simplified sed regexp even more

  • Loading branch information...
1 parent bc53854 commit 46a78c6cece1978b0c9a5ef8a0e1cc804629ed3b @sickill committed Dec 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-dude
View
@@ -68,7 +68,7 @@ while true; do
repo_name=$(basename "$dir_name" .git)
cd "$dir_name"
- changes=$(git fetch 2>&1 | grep -F -- '->' | sed 's/^\s\+[+*=!-]\s\+//')
+ changes=$(git fetch 2>&1 | grep -F -- '->' | sed 's/^ [+*=!-] //')
icon_path=$(git config dude.icon || true)
icon_path=${icon_path:-`pwd`/icon.png}

0 comments on commit 46a78c6

Please sign in to comment.