Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Commit

Permalink
Sort branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlins committed Sep 7, 2015
1 parent 2e9aa25 commit 694486a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/bit3/mgpm/cli/CliApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ private List<String> parseBranches(String gitOutput) {
.stream()
.map((String branch) -> branch.replaceFirst("^\\*", "").trim())
.filter(branch -> !branch.isEmpty())
.sorted()
.collect(Collectors.toList());
}

Expand Down

0 comments on commit 694486a

Please sign in to comment.