From 6afabcea9f627c9ccf0fc5836594b39508581da0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 13 Mar 2009 09:49:00 +0100 Subject: [PATCH] describe next-init-branches.sh Signed-off-by: Nico Schottelius --- linux/{init-branches.sh => next-init-branches.sh} | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) rename linux/{init-branches.sh => next-init-branches.sh} (78%) diff --git a/linux/init-branches.sh b/linux/next-init-branches.sh similarity index 78% rename from linux/init-branches.sh rename to linux/next-init-branches.sh index 4cc42ad..065eaf8 100755 --- a/linux/init-branches.sh +++ b/linux/next-init-branches.sh @@ -15,6 +15,17 @@ # You should have received a copy of the GNU General Public License # along with this file. If not, see . # +# +# This script initialises all the git remotes found in the next-tree, +# so you can merge them yourself. +# +# You've to run it in a linux-next cloned directory: +# +# % git clone git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git +# % cd linux-next +# % next-init-branches.sh +# +# for remote in $(awk '$2 ~ /git/ { print $1 }' Next/Trees); do url=$(awk "\$1 ~ /$remote/ { print \$3 }" Next/Trees) @@ -24,5 +35,4 @@ for remote in $(awk '$2 ~ /git/ { print $1 }' Next/Trees); do # reset, if it changed or we ran before git-remote rm $remote 2>/dev/null git-remote -v add $remote -t $branch $rurl - done