mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	hide possible file write confilct
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/lib/lib_git.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/lib/lib_git.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -49,7 +49,7 @@ exit /b | |||||||
|  |  | ||||||
|     :: get the git version in the provided directory |     :: get the git version in the provided directory | ||||||
|  |  | ||||||
|     "%git_executable%" --version > "%temp%\git_version.txt" |     "%git_executable%" --version 2>nul > "%temp%\git_version.txt" | ||||||
|     setlocal enabledelayedexpansion |     setlocal enabledelayedexpansion | ||||||
|     for /F "tokens=1,2,3 usebackq" %%A in (`type "%temp%\git_version.txt" 2^>nul`) do ( |     for /F "tokens=1,2,3 usebackq" %%A in (`type "%temp%\git_version.txt" 2^>nul`) do ( | ||||||
|         if /i "%%A %%B" == "git version" ( |         if /i "%%A %%B" == "git version" ( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user