Patches being considered but still not in pu
[git.git] / PU
1 #!/bin/sh
2 #
3 # Rebuild "pu" from topic branches.
4 #
5
6 . git-sh-setup
7
8 git-status && exit
9 git-checkout pu &&
10 git-reset --hard master &&
11 ORIG_HEAD=`git-rev-parse ORIG_HEAD` || exit
12
13 for H
14 do
15         (IFS=",$IFS"; git-pull -n . $H) || exit
16 done
17
18 (IFS=",$IFS"; git-show-branch master pu $* $ORIG_HEAD)
19
20
21
22