Today i found a file in the working directory of our build agent that was git renamed to another name several months ago. I'm sort of baffeled as to how a file clearly renamed in git still exists on the agent... in our case this caused me 8 hours of my day.
What i suspect happened is that since we have the "VCS checkout mode" is set to "Automatically on server" that that process of patching on the build agent doesn't deleted the orginal file on a git rename.
Does anyone know what the actual rules as to what is copied/deleted for these incremental patches?
What are the general cleaning rules on the build agent when server side checkouts are used? Is anything cleaned at all? Is there control over what is cleaned?