Browse files

Handle forced push properly

  • Loading branch information...
1 parent a18c483 commit a7108aea6dcc8436a6112731674ff756c7c0b154 @sickill committed Oct 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-dude
View
2 git-dude
@@ -49,7 +49,7 @@ while true; do
repo_name=$(basename $dir_name .git)
cd "$dir_name"
- changes=$(git fetch -v 2>&1 | grep -F -- '->')
+ changes=$(git fetch -v 2>&1 | grep -F -- '->' | sed -E 's/^\s+\+\s+//')
while read -r line; do
case $line in

0 comments on commit a7108ae

Please sign in to comment.