Update pu rebuilding procedure.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2006-01-15 01:55:09 -08:00
parent 81246862e8
commit 8158d510c6

7
PU
View File

@@ -51,21 +51,22 @@ case "$#" in
break ;;
esac
I=0
UNUSE=
USE=
UNUSE= USE= USED=
for H in $HH
do
I=$(($I+1))
case " $ans " in
*' '$I' '*)
USE="$USE$H "
USED="$USED,$H"
;;
*)
UNUSE="$UNUSE$H "
;;
esac
done
git pull -n . $USE || exit
USED=`expr "$USED" : ',\(.*\)'`
git merge -n "Merge $USED" pu $USE || exit
HH=$UNUSE
done
exit