git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robin Rosenberg <robin.rosenberg@dewire.com>
To: spearce@spearce.org, Jonas Fonseca <fonseca@diku.dk>
Cc: git@vger.kernel.org, Robin Rosenberg <robin.rosenberg@dewire.com>
Subject: [EGIT PATCH 4/4] Switch usage of AnyObjectId.toString() to new AnyObjectId.name()
Date: Wed,  3 Sep 2008 23:28:14 +0200	[thread overview]
Message-ID: <1220477294-23268-2-git-send-email-robin.rosenberg@dewire.com> (raw)
In-Reply-To: <1220477294-23268-1-git-send-email-robin.rosenberg@dewire.com>

Two more places

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 .../spearce/jgit/lib/T0005_ShallowSpeedTest.java   |    2 +-
 .../org/spearce/jgit/lib/T0006_DeepSpeedTest.java  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0005_ShallowSpeedTest.java b/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0005_ShallowSpeedTest.java
index 3b8c60a..736e363 100644
--- a/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0005_ShallowSpeedTest.java
+++ b/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0005_ShallowSpeedTest.java
@@ -60,7 +60,7 @@ public void testShallowHistoryScan() throws IOException {
 				break;
 			ObjectId parentId = parents[0];
 			commit = db.mapCommit(parentId);
-			commit.getCommitId().toString();
+			commit.getCommitId().name();
 			++n;
 		}
 		assertEquals(12275, n);
diff --git a/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0006_DeepSpeedTest.java b/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0006_DeepSpeedTest.java
index 684bfba..f480b99 100644
--- a/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0006_DeepSpeedTest.java
+++ b/org.spearce.jgit.test/exttst/org/spearce/jgit/lib/T0006_DeepSpeedTest.java
@@ -62,7 +62,7 @@ public void testDeepHistoryScan() throws IOException {
 			commit = db.mapCommit(parentId);
 			TreeEntry m = commit.getTree().findBlobMember("net/netfilter/nf_queue.c");
 			if (m != null)
-				commit.getCommitId().toString();
+				commit.getCommitId().name();
 			++n;
 		}
 
-- 
1.6.0.1.161.g7f314

  reply	other threads:[~2008-09-03 22:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03  9:01 [JGIT PATCH 1/2] Switch usage of AnyObjectId.toString() to new AnyObjectId.name() Jonas Fonseca
2008-09-03 17:04 ` Shawn O. Pearce
2008-09-03 21:28   ` [EGIT PATCH 3/4] Switch usage of AnyObjectId.toString() to new AnyObjectId.name() in Eclipse plugin Robin Rosenberg
2008-09-03 21:28     ` Robin Rosenberg [this message]
2008-09-03 22:05       ` [EGIT PATCH 4/4] Switch usage of AnyObjectId.toString() to new AnyObjectId.name() Robin Rosenberg
2008-09-03 23:00         ` Shawn O. Pearce
2008-09-03 21:31   ` [JGIT PATCH 1/2] " Jonas Fonseca
2008-09-04  3:23     ` Shawn O. Pearce

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=1220477294-23268-2-git-send-email-robin.rosenberg@dewire.com \
    --to=robin.rosenberg@dewire.com \
    --cc=fonseca@diku.dk \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /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).