Re: Can meld ignore directories?
- From: Kai <kai willadsen gmail com>
- To: Yaniv Ben Yosef <yanivby gmail com>
- Cc: meld-list gnome org
- Subject: Re: Can meld ignore directories?
- Date: Fri, 27 Aug 2010 06:32:20 +1000
On 17 August 2010 16:16, Yaniv Ben Yosef <yanivby gmail com> wrote:
> Hello Kai,
> Yes, I'm talking about the version control browser.
> It would be great if it could work as you describe, but if it's too
> difficult to hook the VCs into this logic - an acceptable alternative (IMO)
> would be to make the file filters work for that view.
I don't think we actually want to do this... I'd expect that people
would be somewhat surprised to see file filters applying to the VC
browser.
IIRC we already respect VC-specific ignore lists (for git at least),
so all that's required is the necessary logic to stop recursing when
we hit an ignored directory, and confidence that this isn't going to
break anything.
cheers,
Kai
> On Tue, Aug 17, 2010 at 1:26 AM, Kai <kai willadsen gmail com> wrote:
>>
>> On 16 August 2010 19:00, Yaniv Ben-Yosef <yanivby gmail com> wrote:
>> > Hi,
>> >
>> > I have a large directory in my project that contains automatically
>> > generated files.
>> > This directory isn't under source control, but it's still convenient for
>> > us to have it under the project directory.
>> > This makes scanning directory differences significantly slower.
>> > Is there a way to instruct meld to ignore specific directories?
>> > (ideally, it would respect .gitignore in case of git).
>>
>> Just to clarify: are you talking about the directory comparison view,
>> or the version control view of Meld? In directory comparison you can
>> set up ignored shell globs (Preferences->File filters) but there is no
>> equivalent for version control.
>>
>> If anyone wants to have a go at this, it should be easy to add the
>> required logic in VcView._search_recursively_iter. Off the top of my
>> head, I'd expect that all we'd do is not recurse into any subdirectory
>> that came back as "Ignored". Hooking this up to various VC systems may
>> or may not be easy.
>>
>> cheers,
>> Kai
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]