*) echo 2>&1 "Local modifications exist."
exit 1;;
esac
-git checkout pu &&
-git reset --hard master &&
+
+case "$1" in
+--continue)
+ shift
+ ;;
+*)
+ git checkout pu &&
+ git reset --hard master || exit
+esac
ORIG_HEAD=`git rev-parse ORIG_HEAD` || exit
LF='
'
esac
done
USED=`expr "$USED" : ',\(.*\)'`
- git merge -n "Merge $USED" pu $USE || exit
+ git pull -n . $USE || exit
+ # git merge -n "Merge $USED" pu $USE || exit
HH=$UNUSE
done
exit
for H
do
- (IFS=",$IFS"; git merge -n "Merge $H" pu $H) || exit
+# (IFS=",$IFS"; git merge -n "Merge $H" pu $H) || exit
+ (IFS=",$IFS"; git pull -n . $H) || exit
done
-(IFS=",$IFS"; git show-branch master $* pu $ORIG_HEAD)
+(IFS=",$IFS"; git show-branch master $* pu `git rev-parse --short $ORIG_HEAD`)