Commit 0b215594 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix regexp


it's supposed to match a literal dot

Change-Id: I4bee3571a4239ec08a14ed18e409f97b4455f928
Reviewed-by: default avatarSergio Ahumada <sahumada@blackberry.com>
parent eec7433e
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -165,7 +165,7 @@ sub load_aliases ...@@ -165,7 +165,7 @@ sub load_aliases
foreach (@gitconfigs) { foreach (@gitconfigs) {
if (/^gpush\.(remote|ref-from|ref-to) (\w+)/) { if (/^gpush\.(remote|ref-from|ref-to) (\w+)/) {
$self->{$1} = $2; $self->{$1} = $2;
} elsif (/^gpush\.alias.([^ ]*) (.+)/) { } elsif (/^gpush\.alias\.([^ ]*) (.+)/) {
$self->{'aliases'}->{$1} = $2; $self->{'aliases'}->{$1} = $2;
} # else ignore } # else ignore
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment