3
0
Fork 0
forked from mirrors/nixpkgs

fetchgit report fetch progress

svn path=/nixpkgs/trunk/; revision=27522
This commit is contained in:
Florian Friesdorf 2011-06-22 19:34:32 +00:00
parent ee731974e9
commit e50e84daa1

View file

@ -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)