summaryrefslogtreecommitdiff
path: root/show-branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-13 16:51:21 -0800
committerJunio C Hamano <junkio@cox.net>2006-01-13 16:51:21 -0800
commit429608fc365d4e6e0db9dee72a0b103dce578722 (patch)
tree2d4488d7bdeae0afab713557f7edfd888c973e68 /show-branch.c
parentb42934d611054400de86e559577b421677b3f1ae (diff)
parent59617ebb746b67921856c00a63f943d43b0abeea (diff)
downloadgit-429608fc365d4e6e0db9dee72a0b103dce578722.tar.gz
Merge fixes up to GIT 1.1.2
Diffstat (limited to 'show-branch.c')
-rw-r--r--show-branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/show-branch.c b/show-branch.c
index f43c406469..f1bce499ba 100644
--- a/show-branch.c
+++ b/show-branch.c
@@ -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;