Fix a bug in mfup

This commit is contained in:
Scott Lahteine 2017-07-04 17:38:45 -05:00 committed by GitHub
parent cca1cca3a5
commit 28deff01b8

View File

@ -28,7 +28,7 @@ echo "Fetching upstream ($ORG/$REPO)..."
git fetch upstream git fetch upstream
echo ; echo "Bringing $TARG up to date..." echo ; echo "Bringing $TARG up to date..."
if [[ git checkout -q $TARG ]]; then if [[ ! $(git checkout -q $TARG) ]]; then
git reset --hard upstream/$TARG git reset --hard upstream/$TARG
git push -f origin git push -f origin
else else