mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	git should no longer require extra file closing after the recent changes
This commit is contained in:
		
							
								
								
									
										3
									
								
								vendor/clink.lua
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/clink.lua
									
									
									
									
										vendored
									
									
								
							| @@ -210,10 +210,9 @@ end | ||||
| local function get_git_status() | ||||
|     local file = io.popen("git --no-optional-locks status --porcelain 2>nul") | ||||
|     for line in file:lines() do | ||||
|         file:close() | ||||
|         return false | ||||
|     end | ||||
|     file:close() | ||||
|  | ||||
|     return true | ||||
| end | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user