lib: optimize file handle usage when calling into same_file during checkout
#17038
This job was skipped
Loading
same_file during checkout
#17038