vc-backend-for-registration

vc-backend-for-registration is a compiled Lisp function in `vc.el'.

(vc-backend-for-registration FILE)

Return a backend that can be used for registering FILE.

If no backend declares itself responsible for FILE, then FILE
must not be in a version controlled directory, so try to create a
repository, prompting for the directory and the VC backend to
use.