From 8088231dfb3c94951cb48c02bfa4459e00edaf1c Mon Sep 17 00:00:00 2001 From: mirko Date: Tue, 24 Apr 2012 18:19:16 +0000 Subject: [scripts/feeds] re-enable shallow git clones ('--depth 1') git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31469 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/feeds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/feeds') diff --git a/scripts/feeds b/scripts/feeds index b423d8ee1..1b7aab79c 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -116,8 +116,8 @@ my %update_method = ( 'update' => "", 'revision' => "echo -n 'local'"}, 'src-git' => { - 'init' => "git clone '%s' '%s'", - 'init_branch' => "git clone --branch '%s' '%s' '%s'", + 'init' => "git clone --depth 1 '%s' '%s'", + 'init_branch' => "git clone --depth 1 --branch '%s' '%s' '%s'", 'update' => "git pull", 'controldir' => ".git", 'revision' => "git show --abbrev-commit HEAD | head -n 1 | cut -d ' ' -f 2 | tr -d '\n'"}, -- cgit v1.2.3