Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly handle ignored extensions #2131

Merged
merged 5 commits into from
Mar 12, 2023
Merged

Correctly handle ignored extensions #2131

merged 5 commits into from
Mar 12, 2023

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Feb 8, 2023

Fixes #2071

(Potential) extensions longer than 4 characters are disregarded for the purposes of naming duplicates. This PR fixes an issue whereby ignored extensions were omitted from the final name. Now the modifier such as (copy) is added at the end of the name in these cases.

There are in fact quite a large number of non-standard and proprietary extensions with 5 or 6 characters but it is not considered worthwhile trying to recognise these - at least not in this PR.

@jeremypw jeremypw enabled auto-merge (squash) March 12, 2023 14:44
@jeremypw jeremypw merged commit e8f9679 into master Mar 12, 2023
@jeremypw jeremypw deleted the fix-unknown-extensions branch March 12, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

copy and paste omits file extension if (possibly) unknown
2 participants