Re: [msysGit] [PATCH] gitk: fix the display of files when filtered by path
- From
David Aguilar <davvid@gmail.com>
- Date
- Dec 15, 2011, 04:18 UTC
- Message-ID
- <CAJDDKr6rVaX_=SZZeEAs950yuNDvi8sOkzrUK7LnCrK6MYfscg@mail.gmail.com>
- In-Reply-To
- <87hb14wg4l.fsf@fox.patthoyts.tk>
On Tue, Dec 13, 2011 at 8:50 AM, Pat Thoyts <patthoyts@users.sourceforge.net> wrote:
Show 8 quoted lines
> Launching 'gitk -- .' or 'gitk -- ..\t' restricts the display to files > under the given directory but the file list is left empty. This is because > the path_filter function fails to match the filenames which are relative > to the working tree to the filter which is filessytem relative. > This solves the problem by making both names fully qualified filesystem > paths before performing the comparison. > > Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Wonderful!
I've run into this problem a number of times (as have some co-workers) but I never bothered to report it since I felt guilty for never having worked up a patch.
I tested this and it worked.
FWIW,
Tested-by: David Aguilar <davvid@gmail.com>
Thank you Pat!
-- David