fix: Raise an error if no refspec is provided
Only local repositories may be configured without refspec. Raise an error if a repository url is given but refspec is not. Signed-off-by: Tobias Schaffner <tobias.schaffner@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
				
					committed by
					
						
						Jan Kiszka
					
				
			
			
				
	
			
			
			
						parent
						
							d7af4dc678
						
					
				
				
					commit
					1c53b817b5
				
			
							
								
								
									
										8
									
								
								tests/test_refspec/test4.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								tests/test_refspec/test4.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
		Reference in New Issue
	
	Block a user