]> gitweb.ps.run Git - ps-cgit/commit
commit-links.sh: improve regular expressions
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 18 Jul 2011 10:45:20 +0000 (12:45 +0200)
committerLars Hjemli <hjemli@gmail.com>
Tue, 19 Jul 2011 07:12:02 +0000 (07:12 +0000)
commitafdff8dc1327ed14c94cf447272191bd28009ed1
tree54278d96e6216d24fa08d21f5e830a75436f363a
parentb0d72da02850abaf4be65ff220774a457c214651
commit-links.sh: improve regular expressions

The default length for sha1 abbreviations in git is 7.

A '#num' at the beginning of the commit message is now
recognised, a ':#num' as well, etc.: a '#num' anywhere
is now converted to a link.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
filters/commit-links.sh