also, modify gitremotes to support wikilinks with alternate
link text
* [[jelmer]] `git://git.samba.org/jelmer/ikiwiki.git`
* [[hendry]] `git://webconverger.org/git/ikiwiki`
* [[jon]] `git://github.com/jmtd/ikiwiki.git`
-* [[davidbremner]] `http://pivot.cs.unb.ca/git/ikipostal.git`
+* [[ikipostal|DavidBremner]] `http://pivot.cs.unb.ca/git/ikipostal.git`
+* [[ikimailbox|DavidBremner]] `http://pivot.cs.unb.ca/git/ikimailbox.git`
## branches
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;