From: "Shawn O. Pearce" <spearce@spearce.org>
To: Robin Rosenberg <robin.rosenberg@dewire.com>,
Marek Zawirski <marek.zawirski@gmail.com>
Cc: git@vger.kernel.org
Subject: [JGIT PATCH 1/1] Remove dead cacheTree related code from GitProjectData
Date: Mon, 4 Aug 2008 19:22:56 -0700 [thread overview]
Message-ID: <1217902976-801-1-git-send-email-spearce@spearce.org> (raw)
We have long since purged the idea of the cache tree from egit, so we
do not need this commented out block of code anymore.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
.../spearce/egit/core/project/GitProjectData.java | 35 --------------------
1 files changed, 0 insertions(+), 35 deletions(-)
diff --git a/org.spearce.egit.core/src/org/spearce/egit/core/project/GitProjectData.java b/org.spearce.egit.core/src/org/spearce/egit/core/project/GitProjectData.java
index f092669..8754bd1 100644
--- a/org.spearce.egit.core/src/org/spearce/egit/core/project/GitProjectData.java
+++ b/org.spearce.egit.core/src/org/spearce/egit/core/project/GitProjectData.java
@@ -415,31 +415,6 @@ public class GitProjectData {
} else if (s == null) {
return true;
}
-
-// final Tree cacheTree = m.getCacheTree();
-// if (cacheTree != null) {
-// try {
-// synchronized (cacheTree) {
-// final TreeEntry e;
-// if (res.getType() == IResource.FILE)
-// e = cacheTree.findBlobMember(s);
-// else
-// e = cacheTree.findTreeMember(s);
-// if (e instanceof FileTreeEntry) {
-// trace("modified " + r + " -> "
-// + e.getFullName());
-// e.setModified();
-// affectedMappings.add(m);
-// }
-// }
-// } catch (IOException ioe) {
-// throw Activator
-// .error(
-// CoreText.GitProjectData_lazyResolveFailed,
-// ioe);
-// }
-// return true;
-// }
}
return false;
}
@@ -451,16 +426,6 @@ public class GitProjectData {
detachFromWorkspace();
Activator.logError(CoreText.GitProjectData_notifyChangedFailed, ce);
}
-
-// try {
-// final Iterator i = affectedMappings.iterator();
-// while (i.hasNext()) {
-// ((RepositoryMapping) i.next()).recomputeMerge();
-// }
-// } catch (IOException ioe) {
-// Activator
-// .logError(CoreText.GitProjectData_notifyChangedFailed, ioe);
-// }
}
private File propertyFile() {
--
1.6.0.rc1.250.g9b5e2
reply other threads:[~2008-08-05 2:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1217902976-801-1-git-send-email-spearce@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=marek.zawirski@gmail.com \
--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).