Skip to content

Commit

Permalink
Handle forced push properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Oct 7, 2011
1 parent a18c483 commit a7108ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-dude
Expand Up @@ -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
Expand Down

0 comments on commit a7108ae

Please sign in to comment.