Ref remoteA = db.getRef("refs/remotes/origin/remote-a");
Ref master = db.getRef("refs/heads/master");
String message = formatter.format(Arrays.asList(remoteA), master);
- assertEquals("Merge remote branch 'origin/remote-a'", message);
+ assertEquals("Merge remote-tracking branch 'origin/remote-a'", message);
}
@Test
Ref remoteA = db.getRef("refs/remotes/origin/remote-a");
Ref master = db.getRef("refs/heads/master");
String message = formatter.format(Arrays.asList(c, remoteA), master);
- assertEquals("Merge branch 'c', remote branch 'origin/remote-a'",
+ assertEquals("Merge branch 'c', remote-tracking branch 'origin/remote-a'",
message);
}
listings.add(joinNames(branches, "branch", "branches"));
if (!remoteBranches.isEmpty())
- listings.add(joinNames(remoteBranches, "remote branch",
- "remote branches"));
+ listings.add(joinNames(remoteBranches, "remote-tracking branch",
+ "remote-tracking branches"));
if (!tags.isEmpty())
listings.add(joinNames(tags, "tag", "tags"));