beber pushed a commit to branch master.

http://git.enlightenment.org/website/git.git/commit/?id=58fb4e949dc99686006226262650f686031147bd

commit 58fb4e949dc99686006226262650f686031147bd
Author: Bertrand Jacquin <[email protected]>
Date:   Mon Apr 28 21:51:06 2014 +0200

    BUG/MINOR: conf: Do not highlight CID references as git commit
---
 public_html/filters/commit-filter | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public_html/filters/commit-filter 
b/public_html/filters/commit-filter
index 9db7270..55e2a5c 100755
--- a/public_html/filters/commit-filter
+++ b/public_html/filters/commit-filter
@@ -16,6 +16,6 @@
 # CGIT_REPO_CLONE_URL  ( = repo.clone-url setting )
 
 exec sed -r \
-  -e 's@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \
+  -e '/CID\b/! s@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \
   -e 's@\b(D[0-9]+)\b@<a href="https://phab.enlightenment.org/\1";>\1</a>@g' \
   -e 's@\b(T[0-9]+)\b@<a href="https://phab.enlightenment.org/\1";>\1</a>@g'

-- 


Reply via email to