diff --git a/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java b/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java index 2cbc6cfd1ace..e6ce74b0e628 100644 --- a/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java +++ b/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java @@ -155,14 +155,6 @@ public class GitBranchUtil { return tags; } - /** - * Get tracked branch of the given branch - */ - @Nullable - public static String getTrackedBranchName(Project project, VirtualFile root, String branchName) throws VcsException { - return GitConfigUtil.getValue(project, root, trackedBranchKey(branchName)); - } - @NotNull private static String trackedBranchKey(String branchName) { return "branch." + branchName + ".merge";