Fixed show-account --filter-branch capability Somehow the filter-branch capability got removed in an early revision of the initial project check-in. Re-enabled that functionality for now, will be working on making it regex-capable shortly. Change-Id: I86fc5ef91eb5d88e250e3564c49217a5964ab1b6
diff --git a/src/main/java/com/google/gerrit/plugins/ShowAccountCommand.java b/src/main/java/com/google/gerrit/plugins/ShowAccountCommand.java index 2c80d51..bc6981e 100644 --- a/src/main/java/com/google/gerrit/plugins/ShowAccountCommand.java +++ b/src/main/java/com/google/gerrit/plugins/ShowAccountCommand.java
@@ -151,7 +151,8 @@ Collections.sort(groupInfos, new CustomComparator()); for (GroupInfo groupInfo : groupInfos) { - if (null == filterGroups) { + if (null == filterGroups || groupInfo.name.toLowerCase().contains(filterGroups.toLowerCase + ())) { stdout.println(groupInfo.name); } }