'update' => "",
'revision' => "echo -n 'local'"},
'src-git' => {
'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'"},
'update' => "git pull",
'controldir' => ".git",
'revision' => "git show --abbrev-commit HEAD | head -n 1 | cut -d ' ' -f 2 | tr -d '\n'"},