GIT 1.1.3
[gitweb.git] / show-branch.c
index 15b1968781178c8aa939a79ed5a7f8fb363d181e..1935c448f4c50e8b9b4302162747a6a099dc718c 100644 (file)
@@ -492,7 +492,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;