Introduces magit-read-directory-name and magit-read-file-name, these allow the user to set custom variables to control which function is used to prompt for directories and filenames, such as setting magit-read-directory-name to ido-read-directory-name.