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

fix: avoid recursion when copying folder to itself #358

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fdschmidt93
Copy link
Contributor

@fdschmidt93 fdschmidt93 commented Apr 21, 2022

Came across this when testing nvim-telescope/telescope-file-browser.nvim#118

cp will raise a message that a folder cannot copied into itself the second time around, but I think it's fine to not have a message here.

E: thinking again, this needs checking that there not yet exists a folder within the folder with the same name or something. Am on phone, will fix later

@fdschmidt93 fdschmidt93 force-pushed the fix/recursive-self-copy branch from 8f929a6 to 99560ca Compare April 21, 2022 16:32
@fdschmidt93 fdschmidt93 marked this pull request as draft April 21, 2022 16:55
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.

1 participant