magit-show was not working because magit-read-file-hist was not defined.