Allow not-that-shallow git fetches; enable it for uzbl
svn path=/nixpkgs/trunk/; revision=17980
This commit is contained in:
@@ -2,7 +2,7 @@ source $stdenv/setup
|
||||
|
||||
header "exporting $url (rev $rev) into $out"
|
||||
|
||||
git clone --depth 1 "$url" $out
|
||||
git clone --depth "$depth" "$url" $out
|
||||
if test -n "$rev"; then
|
||||
cd $out
|
||||
git checkout $rev
|
||||
|
||||
Reference in New Issue
Block a user