Tip for my future self: If Emacs throws an arcane error — project--read-file-name: Wrong type argument: stringp, nil
— while trying to find a file in a git project (C-x p f
), then one likely reason is that the git project is empty.
Solution? Make sure you have something inside the git project. Even a staged file is enough.