From 78377242a75057a6f82a608c0aac9ea737ba8f53 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Apr 2011 13:30:34 +0200 Subject: Add fetch script --- git/fetch.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 git/fetch.sh diff --git a/git/fetch.sh b/git/fetch.sh new file mode 100755 index 0000000..36f60bd --- /dev/null +++ b/git/fetch.sh @@ -0,0 +1,15 @@ +#! /bin/sh + +# Assume this script never run via PATH. +# +self=`realpath $0` +. `dirname $self`/modules + +wd=`pwd` + +for i in $all_modules; do + echo "pull $i" 1>&2 + cd $i + git fetch $* + cd $wd +done -- cgit v1.1