aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeDataSet.java12
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java3
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/GitSubscriberParticipant.java3
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties2
4 files changed, 14 insertions, 6 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeDataSet.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeDataSet.java
index 1a586bbef..a9d28f861 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeDataSet.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeDataSet.java
@@ -85,4 +85,16 @@ public class GitSynchronizeDataSet implements Iterable<GitSynchronizeData> {
return resource.toArray(new IResource[resource.size()]);
}
+ @Override
+ public String toString() {
+ StringBuilder builder = new StringBuilder();
+
+ for (GitSynchronizeData data : gsd) {
+ builder.append(data.getRepository().getWorkDir());
+ builder.append(" "); //$NON-NLS-1$
+ }
+
+ return builder.toString();
+ }
+
}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
index 0d7ea0c3a..d1502c005 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
@@ -2048,9 +2048,6 @@ public class UIText extends NLS {
public static String GitBranchSynchronizeWizardPage_deselectAll;
/** */
- public static String GitBranchSubscriberParticipant_git;
-
- /** */
public static String RemoteSelectionCombo_remoteName;
/** */
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/GitSubscriberParticipant.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/GitSubscriberParticipant.java
index 8974032b5..8f47f5bb5 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/GitSubscriberParticipant.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/GitSubscriberParticipant.java
@@ -43,7 +43,7 @@ public class GitSubscriberParticipant extends SubscriberParticipant {
public GitSubscriberParticipant(GitSynchronizeDataSet data) {
ResourceVariantByteStore store = new SessionResourceVariantByteStore();
setSubscriber(new GitResourceVariantTreeSubscriber(data, store));
- setName(UIText.GitBranchSubscriberParticipant_git);
+ setName(data.toString());
}
@Override
@@ -95,6 +95,7 @@ public class GitSubscriberParticipant extends SubscriberParticipant {
void reset(GitSynchronizeDataSet data) {
GitResourceVariantTreeSubscriber subscriber = (GitResourceVariantTreeSubscriber) getSubscriber();
subscriber.reset(data);
+ setName(data.toString());
reset();
}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties
index 17c721e4e..c2e443bf2 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties
@@ -727,8 +727,6 @@ GitBranchSynchronizeWizardPage_branches=Branches
GitBranchSynchronizeWizardPage_selectAll=Select All
GitBranchSynchronizeWizardPage_deselectAll=Deselect All
-GitBranchSubscriberParticipant_git=Git
-
RemoteSelectionCombo_remoteName=Remote Repository:
RemoteSelectionCombo_remoteRef=Ref: