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

Support "git mv" for files tracked in git #17

Open
ashwin opened this issue Dec 18, 2019 · 1 comment
Open

Support "git mv" for files tracked in git #17

ashwin opened this issue Dec 18, 2019 · 1 comment

Comments

@ashwin
Copy link

ashwin commented Dec 18, 2019

This is a feature request. It would be awesome if I can open vidir in a directory where files are managed by git. I rename the filenames and vidir renames them for real using git mv old_name new_name. That would be a useful addition.

To implement this, vidir could check if each file that is renamed is under git control. If under git control, use git mv to rename, else use mv to rename.

@septatrix
Copy link

As git mv oldname newname does basically the equivalent of mv oldname newname & git add newname & git rm oldname I do not think this is worth the complexity and overhead of checking every single file. You could just as well run vidir and follow it with a git add * in most cases

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

No branches or pull requests

2 participants