projects
/
git.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8d3d38f3d3fd0666563b862f82f0f07f2a6ce91c
[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