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

[egit-jgit] excluded patterns are decorated as being untracked

From
GZGalder Zamarreno <galder.zamarreno@redhat.com>
Date
Jun 17, 2008, 16:43 UTC
Message-ID
<4857E9A0.7070408@redhat.com>
Hi,

I've been using egit for a few weeks and firstly, I'd like to thank the people involved in the project for the work done so far.

There's one thing that has been bugging me about egit though which is related to the decoration of untracked files. Egit/JGit does not seem to pay attention to .git/info/exclude that I have configured so that anything under output folder is excluded.

Egit/JGit does seem to have decorations working fine for patterns specified in "Team/Ignored Resources" but it only applies it to files not folders, hence, adding "output" as pattern does not work and instead, I have to specify any pattern that would match a file within the output folder which is not practical. Folders are taken into account as ignored resources in subeclipse (subversion eclipse plugin)

I can see two ways of implementing this that I'm happy to have a look into but I wanted to get some advice from the experts of egit/jgit to indicate which would be the preferred solution going forward.

1.- Implement .git/info/exclude functionality in egit/jgit

2.- Improve the decoration handling in jgit/egit so that it can check whether the file is under a pattern that should be excluded. I tried to implement this but requires using API that eclipse considers internal.

What do people think? Should I bother with 2 or is it better to implement decorations for patterns in .git/info/exclude correctly?

Thanks!
-- 
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat
Next: Robin Rosenberg
Message 1 of 5 in “[egit-jgit] excluded patterns are decorated as being untracked”
  1. Galder ZamarrenoJun 17, 2008
  2. Robin RosenbergJun 17, 2008
  3. Shawn O. PearceJun 18, 2008
  4. Galder ZamarrenoJun 18, 2008
  5. Robin RosenbergJun 18, 2008

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.