vidir
vidir copied to clipboard
Support "git mv" for files tracked in git
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.
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