projects
/
git.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
856b582b3cc0a95e35f126315b1e157c12e2a30b
[git.git]
/
PU
1
#!/bin/sh
2
#
3
# Rebuild "pu" from topic branches.
4
#
5
6
git status && exit
7
git checkout pu &&
8
git reset --hard master &&
9
ORIG_HEAD=`git rev-parse ORIG_HEAD` || exit
10
11
for H
12
do
13
(IFS=",$IFS"; git pull -n . $H) || exit
14
done
15
16
(IFS=",$IFS"; git show-branch master pu $* $ORIG_HEAD)
17
18
19
20