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

bug report: rename command can delete files #253

Closed
shabahengam opened this issue Nov 2, 2019 · 0 comments
Closed

bug report: rename command can delete files #253

shabahengam opened this issue Nov 2, 2019 · 0 comments
Labels

Comments

@shabahengam
Copy link

i was using the old rename command(mv) and after testing the new rename command i find out that this command delete files without any warning.imho it's completely unacceptable and you should warn the user
how to reproduce:
just try rename a file without a change and when it ask for replace say yes.
it will say "no such file or directory" and will delete the file.

Limero added a commit to Limero/lf that referenced this issue Dec 9, 2019
Currently, renaming a file without changing the name will prompt for
replacing and then delete the file. This will instead cancel the
renaming if the old and new names are the same.
@gokcehan gokcehan added the bug label Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants