Code

show-branch: handle [] globs as well.
authorJunio C Hamano <junkio@cox.net>
Wed, 11 Jan 2006 08:20:25 +0000 (00:20 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 11 Jan 2006 23:36:07 +0000 (15:36 -0800)
commit87758f975b04233ba058750f7ea8ce63bb67297f
tree997493ba5329186ef517fc5f2f178f5dab0d3080
parent2c817df25d54b557d6cac0800cacfd0a255cd56d
show-branch: handle [] globs as well.

Earlier only '?' and '*' signalled the command that what the
user has given is a glob pattern.  This prevented us to say:

$ git show-branch 'v0.99.[0-3]'

Now we notice '[' as well, so the above would work.

Signed-off-by: Junio C Hamano <junkio@cox.net>
show-branch.c