Clone repository more shallowly
This commit is contained in:
parent
670140d2f3
commit
635fdc855a
@ -67,7 +67,7 @@ step_make_skeleton() {
|
||||
step_repo_clone() {
|
||||
# Clone the dotfiles
|
||||
log "Cloning repository into \"$tmpdir\""
|
||||
git clone --recursive --depth 100 --separate-git-dir="$gitdir" "$repo" "$tmpdir" >> "$logfile" 2>&1
|
||||
git clone --recursive --depth 50 --separate-git-dir="$gitdir" "$repo" "$tmpdir" >> "$logfile" 2>&1
|
||||
error="$?"
|
||||
if ! [ "$error" -eq "0" ]; then
|
||||
log "Failed cloning repository \"$repo\": git returned $error" 2
|
||||
|
Loading…
Reference in New Issue
Block a user