forked from mirrors/nixpkgs
fetchgit report fetch progress
svn path=/nixpkgs/trunk/; revision=27522
This commit is contained in:
parent
ee731974e9
commit
e50e84daa1
|
@ -8,7 +8,7 @@ header "exporting $url (rev $rev) into $out"
|
||||||
git init $out
|
git init $out
|
||||||
cd $out
|
cd $out
|
||||||
git remote add origin "$url"
|
git remote add origin "$url"
|
||||||
git fetch origin
|
git fetch --progress origin
|
||||||
git remote set-head origin -a || (
|
git remote set-head origin -a || (
|
||||||
test -n $rev && echo "that's ok, we want $rev" || exit 1)
|
test -n $rev && echo "that's ok, we want $rev" || exit 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue