From f8b44e58d5c42bab81b1a4377da2e99141c2ddf4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kr=C3=BCger?= Date: Mon, 15 Nov 2010 22:10:31 +0100 Subject: [PATCH] Girocco::Project: fix bogus regexp in get_heads MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Krüger --- Girocco/Project.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Girocco/Project.pm b/Girocco/Project.pm index 50bbb32..d53ca1c 100644 --- a/Girocco/Project.pm +++ b/Girocco/Project.pm @@ -521,7 +521,7 @@ sub get_heads { my @res; while (<$fh>) { chomp; - next if !m#^[0-9a-f]{40}\s+refs/heads/(.*)+$ #x; + next if !m#^[0-9a-f]{40}\s+refs/heads/(.+)$ #x; push @res, $1; } close $fh; -- 2.11.4.GIT