Reduce submodule clone depth
This commit is contained in:
parent
a6f19a9688
commit
7c52eb746f
@ -58,7 +58,7 @@ rsync -rvl --exclude ".git" "$tempfolder/" "$homedir/" >> "$logfile"
|
||||
rm -rf "$tempfolder"
|
||||
# Finish syncing
|
||||
log "Updating submodules and performing basic configuration"
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" submodule update --init --recursive --remote >> "$logfile" 2>&1
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" submodule update --init --recursive --remote --depth 50 >> "$logfile" 2>&1
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" submodule foreach 'git checkout master && git pull' >> "$logfile" 2>&1
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" config status.showUntrackedFiles no >> "$logfile" 2>&1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user