From: "Shawn O. Pearce" <spearce@spearce.org>
To: Robin Rosenberg <robin.rosenberg@dewire.com>
Cc: git@vger.kernel.org
Subject: [JGIT PATCH 5/5] Restore IContainer.INCLUDE_HIDDEN within ContainerTreeIterator
Date: Thu, 28 Aug 2008 08:27:46 -0700 [thread overview]
Message-ID: <1219937266-24903-5-git-send-email-spearce@spearce.org> (raw)
In-Reply-To: <1219937266-24903-4-git-send-email-spearce@spearce.org>
Now that we support only Eclipse 3.4 we might as well use this
flag to pick up hidden resources which may be part of the Git
repository, but hidden from view from Eclipse.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
.../spearce/egit/core/ContainerTreeIterator.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/org.spearce.egit.core/src/org/spearce/egit/core/ContainerTreeIterator.java b/org.spearce.egit.core/src/org/spearce/egit/core/ContainerTreeIterator.java
index 2b7ff3b..61717f5 100644
--- a/org.spearce.egit.core/src/org/spearce/egit/core/ContainerTreeIterator.java
+++ b/org.spearce.egit.core/src/org/spearce/egit/core/ContainerTreeIterator.java
@@ -91,8 +91,7 @@ public AbstractTreeIterator createSubtreeIterator(final Repository db)
private Entry[] entries() {
final IResource[] all;
try {
-// all = node.members(IContainer.INCLUDE_HIDDEN); 3.4 flag
- all = node.members(0);
+ all = node.members(IContainer.INCLUDE_HIDDEN);
} catch (CoreException err) {
return EOF;
}
--
1.6.0.174.gd789c
prev parent reply other threads:[~2008-08-28 15:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 15:27 [JGIT PATCH 1/5] JUnit test for EmptyTreeIterator Shawn O. Pearce
2008-08-28 15:27 ` [JGIT PATCH 2/5] JUnit tests for some TreeFilter implementations Shawn O. Pearce
2008-08-28 15:27 ` [JGIT PATCH 3/5] JUnit test for FileTreeIterator, WorkingTreeIterator Shawn O. Pearce
2008-08-28 15:27 ` [JGIT PATCH 4/5] Increase JUnit coverage on CanonicalTreeParser Shawn O. Pearce
2008-08-28 15:27 ` Shawn O. Pearce [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1219937266-24903-5-git-send-email-spearce@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).