* lisp/vc/vc.el (vc-rename-file): Don't call into the backend if moving a directory containing only untracked files. * test/lisp/vc/vc-tests/vc-tests.el (vc-test--rename-directory): New test for this case.
* lisp/vc/vc.el (vc-rename-file): Don't call into the backend if moving a directory containing only untracked files. * test/lisp/vc/vc-tests/vc-tests.el (vc-test--rename-directory): New test for this case.