From 0b2155945238eb10ceedfc5100fe7e700d018447 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Date: Mon, 26 May 2014 21:25:01 +0200 Subject: [PATCH] fix regexp it's supposed to match a literal dot Change-Id: I4bee3571a4239ec08a14ed18e409f97b4455f928 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> --- bin/git-gpush | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-gpush b/bin/git-gpush index f6e558b..6283385 100755 --- a/bin/git-gpush +++ b/bin/git-gpush @@ -165,7 +165,7 @@ sub load_aliases foreach (@gitconfigs) { if (/^gpush\.(remote|ref-from|ref-to) (\w+)/) { $self->{$1} = $2; - } elsif (/^gpush\.alias.([^ ]*) (.+)/) { + } elsif (/^gpush\.alias\.([^ ]*) (.+)/) { $self->{'aliases'}->{$1} = $2; } # else ignore } -- GitLab