Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] [EGIT PATCH] Checkout dialog: Tags entry appears once for every tag

This bug appeared in e911a80b340a and was reported in

http://code.google.com/p/egit/issues/detail?id=100

Signed-off-by: Robin Rosenberg <robin.rosenberg@xxxxxxxxxx>
---
 .../ui/internal/dialogs/BranchSelectionDialog.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

I'll just post this "somewhere" until we get the new process going. We should perhaps
post this to Bugzilla too/instead.

diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java
index 193eca9..5ddcb44 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java
@@ -188,7 +188,7 @@ private void fillTreeWithBranches(String select) throws IOException {
 				}
 			} else if (ref.startsWith(Constants.R_TAGS)) {
 				shortName = ref.substring(10);
-				if (!Constants.R_HEADS.equals(curPrefix)) {
+				if (!Constants.R_TAGS.equals(curPrefix)) {
 					curPrefix = Constants.R_TAGS;
 					curSubPrefix = null;
 					curSubItem = null;
-- 
1.6.3.2.199.g7340d



Back to the top