Skip to content

Commit

Permalink
Merge pull request #600 from richardfearn/git-fresh-branch-fix
Browse files Browse the repository at this point in the history
git-fresh-branch: fix handling of 'yes' response when there are changes
  • Loading branch information
spacewander authored Nov 19, 2016
2 parents 7f14cc4 + 4f8e411 commit fd2de52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-fresh-branch
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ clean()
if [ ! -z "$changes" ]; then
read -p "All untracked changes will be lost. Continue [y/N]? " res
case $res in
[Yy]* ) clean; break;;
[Yy]* ) ;;
* ) exit 0;;
esac
fi
Expand Down

0 comments on commit fd2de52

Please sign in to comment.