mirror of
				https://github.com/yuzu-emu/mbedtls.git
				synced 2025-11-04 14:05:08 +00:00 
			
		
		
		
	Change worktree_rev to HEAD for rev-parse
Due to how the checking script is run in docker, worktree_rev is ambiguous when running rev-parse. We're running it in the checked out worktree, so we can use HEAD instead, which is unambiguous.
This commit is contained in:
		
							parent
							
								
									cb686a1b6b
								
							
						
					
					
						commit
						64b4b6e35e
					
				| 
						 | 
				
			
			@ -107,7 +107,7 @@ class AbiChecker(object):
 | 
			
		|||
        )
 | 
			
		||||
        self.log.debug(worktree_output.decode("utf-8"))
 | 
			
		||||
        version.commit = subprocess.check_output(
 | 
			
		||||
            [self.git_command, "rev-parse", worktree_rev],
 | 
			
		||||
            [self.git_command, "rev-parse", "HEAD"],
 | 
			
		||||
            cwd=git_worktree_path,
 | 
			
		||||
            stderr=subprocess.STDOUT
 | 
			
		||||
        ).decode("ascii").rstrip()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue