Merge fixes up to GIT 1.1.2
[git.git] / show-branch.c
index f43c406..f1bce49 100644 (file)
@@ -496,7 +496,7 @@ static void append_one_rev(const char *av)
                append_ref(av, revkey);
                return;
        }
-       if (strchr(av, '*') || strchr(av, '?')) {
+       if (strchr(av, '*') || strchr(av, '?') || strchr(av, '[')) {
                /* glob style match */
                int saved_matches = ref_name_cnt;
                match_ref_pattern = av;