You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
292 B
23 lines
292 B
![]()
20 years ago
|
#!/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)
|
||
|
|
||
|
|
||
|
|
||
|
|