Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Close tempfile handles. #5506
The old code would create four temporary files whenever adding or removing repository files, and these file handles would remain open after the files were deleted in the subsequent cleanup methods, leading to TTS reporting too many open files after a certain time running.
Maybe a cleaner and extensible solution may be to create a temporary config directory with