X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=PU;h=2a22632a82aefe6c28e072dc452bba991bae979c;hb=f00c80b8715ac45ba4e8f96c7dad963b6203e7e8;hp=2fd20e8216aadf06ce0289c88ea6258958ddf86b;hpb=b14e2494b8a70737066f4ade4df1b5559e81b44b;p=git.git diff --git a/PU b/PU index 2fd20e82..2a22632a 100755 --- a/PU +++ b/PU @@ -66,7 +66,8 @@ case "$#" in 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 @@ -75,7 +76,8 @@ esac 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`)