onsdagen den 18 juni 2008 17.40.56 skrev Galder Zamarreno:It seems it is not recursive and worse, not saved with the project. You'll need another patch for the decorator to pick up derived resources properly. Probably not the final solution to decorations. For one thing the decorators are horribly inefficient. I'd say implementing .git/info/exlude is the proper solution. The others are mere workarounds. -- robin From 7acc0e63886ed8eda6b38a5edbfe9a6aa4d509dc Mon Sep 17 00:00:00 2001 From: Robin Rosenberg <robin.rosenberg@dewire.com> Date: Wed, 18 Jun 2008 23:50:42 +0200 Subject: [PATCH] Decorate derived resources as ignored. This is done by using the appropriate API. Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com> --- .../internal/decorators/GitResourceDecorator.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitResourceDecorator.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitResourceDecorator.java index 4b6394c..0308f6a 100644 --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitResourceDecorator.java +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitResourceDecorator.java @@ -273,8 +273,7 @@ public class GitResourceDecorator extends LabelProvider implements } } else { - if (rsrc.getType() == IResource.FILE - && Team.isIgnored((IFile) rsrc)) { + if (Team.isIgnoredHint(rsrc)) { decoration.addSuffix("(ignored)"); } else { decoration.addPrefix(">"); -- 1.5.5.1.178.g1f811 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Antonio Almeida | HTB accuracy for high speed |
| David Miller | [GIT]: Networking |
