Commit ec46c1d5 authored by Nico Schottelius's avatar Nico Schottelius

and also add git init, as described in last commit

Signed-off-by: default avatarNico Schottelius <nico@ikn.schottelius.org>
parent 316d20d6
......@@ -25,13 +25,15 @@
#
# % git clone git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
# % mkdir mynext && cd mynext
# % git init
# % next-init-branches.sh ../linux-next/Next/Trees
# % likenext-init.sh ../linux-next/Next/Trees
#
#
file="$1"; shift
# init current dir, don't care whether it is already, git init works well ;-)
git init
for remote in $(awk '$2 ~ /git/ { print $1 }' "$file"); do
url=$(awk "\$1 ~ /$remote/ { print \$3 }" "$file")
rurl=$(echo $url | awk -F'#' '{ print $1 }')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment