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
Correctly duplicate files with numbers in filename #22907
This PR fixes an issue with duplicating files with numbers in the filename. It now correctly duplicates files with numbers in filename by appending a version instead of incrementing the integer.
Original issue: #22876
referenced this pull request
Mar 20, 2017
hey @bpasero, I thought that was the intended behaviour based on this comment: https://github.com/Microsoft/vscode/pull/22907/files#diff-9404b1da682862c61dce10b84ff76e5cR1101
This makes sense if a user is duplicating the file multiple times (test.txt -> test.1.txt -> test.2.txt -> etc).
It's also the way it worked in previous builds (and it's consistent with how other products behave). Let me know what you think.