mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
if [[ "$(grep -c "# then delete this line" $1)" == "1" ]]; then
 | 
						|
  echo "Unresolved gofmt errors. Aborting commit."
 | 
						|
  echo "The message of your attempted commit was:"
 | 
						|
  cat $1
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
exit 0
 |