mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Set default git-config values known to fix repository issues
- core.autocrlf=false -> #4069 - fsck.zeroPaddedFilemode -> #4963 Fixes #4069 Fixes #4963
This commit is contained in:
		@@ -90,7 +90,11 @@ setup_ohmyzsh() {
 | 
			
		||||
		exit 1
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	git clone --depth=1 --branch "$BRANCH" "$REMOTE" "$ZSH" || {
 | 
			
		||||
	git clone -c core.eol=lf -c core.autocrlf=false \
 | 
			
		||||
		-c fsck.zeroPaddedFilemode=ignore \
 | 
			
		||||
		-c fetch.fsck.zeroPaddedFilemode=ignore \
 | 
			
		||||
		-c receive.fsck.zeroPaddedFilemode=ignore \
 | 
			
		||||
		--depth=1 --branch "$BRANCH" "$REMOTE" "$ZSH" || {
 | 
			
		||||
		error "git clone of oh-my-zsh repo failed"
 | 
			
		||||
		exit 1
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user