Re: Meld: Ignore files specified in .gitignore
- From: Kai Willadsen <kai willadsen gmail com>
- To: Stefan Beller <stefanbeller googlemail com>
- Cc: meld-list gnome org
- Subject: Re: Meld: Ignore files specified in .gitignore
- Date: Wed, 26 Sep 2012 06:34:27 +1000
On 14 September 2012 20:47, Stefan Beller <stefanbeller googlemail com> wrote:
> Hello Meld Developers/Users,
>
> So there is the possibility to ignore files at directory diffs, which be
> specified in the preferences.
>
> Would it be possible to add an indirect way to specify the files to ignore?
>
> My usecase would be the .gitignore file, which should be read in and all
> files matching a line in that file should also be ignored.
> Maybe there are some differences between the gitignore syntax and the
> ignore pattern syntax as found in the current file ignore dialog.
>
> Any ideas how this could be implemented?
I think the only sane way to implement this is to provide a way to
create extensions that define new filter mechanisms (and the relevant
UI to enable, modify, etc.). Then, you'd write an extension that
duplicated the gitignore (svn ignore, cvs ignore, ...) mechanism and
allow the user to turn that on in folder comparisons.
Relevant bugs:
https://bugzilla.gnome.org/show_bug.cgi?id=662333
https://bugzilla.gnome.org/show_bug.cgi?id=150665
Doing this properly probably requires all sorts of other stuff to
happen... most notably actually getting a PyGObject 3 port going on,
and then setting up a plug-in infrastructure around libpeas.
cheers,
Kai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]