replicate.sh: Don't clone the whole git history
This commit is contained in:
		@@ -13,7 +13,7 @@ homedir="$PWD"
 | 
			
		||||
repo='git@gitlab.com:rehashedsalt/home.git'
 | 
			
		||||
config='git --git-dir="$gitdir" --work-tree="$homedir"'
 | 
			
		||||
 | 
			
		||||
git clone --recursive --separate-git-dir="$gitdir" "$repo" "$tempfolder"
 | 
			
		||||
git clone --recursive --depth 100 --separate-git-dir="$gitdir" "$repo" "$tempfolder"
 | 
			
		||||
error="$?"
 | 
			
		||||
if ! [ "$error" == "0" ]; then
 | 
			
		||||
	printf "$0: error: failed cloning repository \"$repo\": $error\n" 1>&2
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user