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