X-Git-Url: http://git.ieval.ro/?p=filters.git;a=blobdiff_plain;f=fanboy;h=32fe7e396f7f06b3279b5a4ff547c876cbbf1725;hp=743a004641e22fc183d7cd2dc4a17c091d7f4369;hb=84cbfd03b1483609e1b9fdf8b8b4403533e17748;hpb=8762c758ec76e7b774c84dd6dd182b9726f0f724 diff --git a/fanboy b/fanboy index 743a004..32fe7e3 100755 --- a/fanboy +++ b/fanboy @@ -2,10 +2,16 @@ if (! @ARGV) { @ARGV=qw(linus git linux rebase rebased merge merged cherry-pick - branch branched branches); + branch branched branches git-*); } -my $coolstuff=join("|", map { "\Q$_\E" } reverse sort @ARGV); +my $coolstuff=join("|", + map { + $_=quotemeta($_); + s/\\\*/.*/g; + s/\\\?/./g; + $_; + } reverse sort @ARGV); my $len=0; my $indent="";