git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [EGIT] [PATCH v1 1/1] Add an ignored icon

From
Tor Arne Vestbø <torarnv@gmail.com>
Date
Feb 23, 2009, 23:59 UTC
Message-ID
<49A33862.90507@gmail.com>
In-Reply-To
<ec97c536d418f465befba2a7f30f82f0d75004f8.1235415747.git.ferry.huberts@pelagic.nl>
Ferry Huberts wrote:
> Add an ignored icon to the label decorations page and make
> sure that it is actually decorated: from now on do not ignore
> ignored resources during decoration.

The reason this was not added in the original series was because that's kind of the point of ignoring a resource -- you don't want any information about it. Also, none of the other team plugins provide decorations for ignored resources-

On the other hand, since the decorators are now user configurable, adding the option to allow users to enable decoration of ignored resources if they really feel it's useful to them is admittedly in line with the whole customization idea.

Though I'm not sure if this particular case of customization would cause more confusion than good, for example in terms of which doors we open by allowing ignored resources to actually not be ignored (i.e what other features would you expect to work for ignored resources?).

>  		prefs.setDefault(UIPreferences.DECORATOR_SHOW_UNTRACKED_ICON, true);
> +		prefs.setDefault(UIPreferences.DECORATOR_SHOW_IGNORED_ICON, true);
>  		prefs.setDefault(UIPreferences.DECORATOR_SHOW_STAGED_ICON, true);

If applied, I would argue that the option should be _off_ by default, to match the behavior of the other team plugins and the normal logical action of ignoring a resource.

> +	/** Decoration for resource ignored by Git */
> +	public static final ImageDescriptor OVR_IGNORED;
> +
Side-note: the current decoration implementation only uses Eclipse's
concept of an ignored resource -- not .gitignore et al. since we don't
have a standard way of reading those yet.
Tor Arne
Previous: Ferry HubertsNext: Ferry Huberts (Pelagic)
Message 3 of 9 in “Add an ignored icon”
  1. Ferry HubertsFeb 23, 2009
  2. [EGIT] [PATCH v1 1/1] Add an ignored iconFerry Huberts, Feb 23, 2009
  3. Tor Arne VestbøFeb 23, 2009
  4. Ferry Huberts (Pelagic)Feb 24, 2009
  5. Ferry Huberts (Pelagic)Feb 24, 2009
  6. Tor Arne VestbøFeb 24, 2009
  7. Ferry Huberts (Pelagic)Feb 24, 2009
  8. Robin RosenbergFeb 24, 2009
  9. Tor Arne VestbøFeb 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.