aboutsummaryrefslogtreecommitdiff
path: root/gitremotes
diff options
context:
space:
mode:
Diffstat (limited to 'gitremotes')
-rwxr-xr-xgitremotes2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitremotes b/gitremotes
index 7b9484dd1..91bf2fe84 100755
--- a/gitremotes
+++ b/gitremotes
@@ -6,7 +6,7 @@ my $error=0;
open (IN, "doc/git.mdwn") || die "doc/git.mdwn: $!";
while (<IN>) {
- if (/^\*\s+\[?\[?(\w+)\]?\]?\s+`([^>]+)`/) {
+ if (/^\*\s+\[?\[?(\w+)(?:\|\w+)?\]?\]?\s+`([^>]+)`/) {
# note that the remote name has to be a simple word (\w)
# for security/sanity reasons
my $remote=$1;