From: Peter van Dijk Date: Thu, 23 May 2013 12:40:13 +0000 (+0200) Subject: fix expansion of git commits with a c followed by numbers in them X-Git-Tag: auth-3.3-rc1~17^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7921f73c694b84ac78e68d67d5021bd2c9f40fb6;p=thirdparty%2Fpdns.git fix expansion of git commits with a c followed by numbers in them --- diff --git a/pdns/docs/expand b/pdns/docs/expand index 96ee4cb273..44e537c00a 100755 --- a/pdns/docs/expand +++ b/pdns/docs/expand @@ -1,13 +1,13 @@ #!/bin/sh sed \ -'s|c\([0-9][0-9][0-9]*\)|commit \1|g' | +'s|\|commit \1|g' | sed \ -'s|C\([0-9][0-9][0-9]*\)|\1|g' | +'s|\|\1|g' | sed \ -'s|g\([0-9a-f]\{7\}\)|commit \1|g' | +'s|\|commit \1|g' | sed \ -'s|G\([0-9a-f]\{7\}\)|\1|g' | +'s|\|\1|g' | sed \ -'s|\sT\([0-9][0-9]*\)| \1|g' | +'s|\| \1|g' | sed \ -'s|\st\([0-9][0-9]*\)| ticket \1|g' \ No newline at end of file +'s|\| ticket \1|g'