mirror of
https://github.com/tj/git-extras.git
synced 2026-09-14 09:26:19 -04:00
Merge pull request #600 from richardfearn/git-fresh-branch-fix
git-fresh-branch: fix handling of 'yes' response when there are changes
This commit is contained in:
commit
fd2de52949
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue