magit/magit — pull request #699 by sanjoy (2013-06-24 15:26:38+00:00)
Title: Fix default-directory issue with magit-grep.

As of now, magit-grep doesn't set the default-directory variable
correctly when creating the *Magit Grep* buffer. This is especially
problematic if the user tries to use the file name / line number pair as
a link.