git/PU
Junio C Hamano 1ad3ae4c17 Add Meta information.
Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-11-05 10:58:46 -08:00

23 lines
292 B
Bash
Executable File

#!/bin/sh
#
# Rebuild "pu" from topic branches.
#
. git-sh-setup
git-status && exit
git-checkout pu &&
git-reset --hard master &&
ORIG_HEAD=`git-rev-parse ORIG_HEAD` || exit
for H
do
(IFS=",$IFS"; git-pull -n . $H) || exit
done
(IFS=",$IFS"; git-show-branch master pu $* $ORIG_HEAD)