[EGIT PATCH 01/23] Fix: let FetchProcess use fetch() instead of doFetch()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marek Zawirski
Date: Friday, June 27, 2008 - 3:06 pm

doFetch() call didn't check whether fetch() was already performed
(it is intended for internal use), while fetch() does.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
---
 .../org/spearce/jgit/transport/FetchProcess.java   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java b/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java
index afaf9e2..e33b35b 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java
@@ -139,7 +139,7 @@ class FetchProcess {
 				if (!askFor.isEmpty() && (!includedTags || !askForIsComplete())) {
 					reopenConnection();
 					if (!askFor.isEmpty())
-						conn.doFetch(monitor, askFor.values());
+						conn.fetch(monitor, askFor.values());
 				}
 			}
 		} finally {
-- 
1.5.5.3

--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[EGIT PATCH 00/23] Push implementation, Marek Zawirski, (Fri Jun 27, 3:06 pm)
[EGIT PATCH 01/23] Fix: let FetchProcess use fetch() inste ..., Marek Zawirski, (Fri Jun 27, 3:06 pm)
[EGIT PATCH 05/23] Add RemoteRefUpdate class, Marek Zawirski, (Fri Jun 27, 3:06 pm)
Re: [EGIT PATCH 00/23] Push implementation, Robin Rosenberg, (Fri Jun 27, 4:25 pm)