magit/magit — pull request #1681 by orivej (2014-12-20 15:59:27+00:00)
Title: Do not abort when buffers visit files in nonexistent directories

After `(find-file "/does-not-exist/file")` and switching to an existing file, `magit-status` used to abort when Magit tried to determine whether the file in a nonexistent directory belongs to the current project. This change fixes that.