dot

packages and services management
Log | Files | Refs | README

commit dc6a1229235cbd464f98259da0d7adb0d6f34fdb
parent c554aacb457dcbdd26c4eef33a17aa2df88ba536
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sun, 23 Jul 2017 23:21:18 +0200

www-git: more boldness

Diffstat:
Mbin/www-git | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/www-git b/bin/www-git @@ -30,9 +30,11 @@ commits() git -C "$1" show "$commit" | sed ' s|&|\&amp;|g s|<|\&lt;|g - /^+/ s|.*|<span style="color: green;">&</span>| - /^-/ s|.*|<span style="color: red;">&</span>| - /^@/ s|.*|<b style="color: blue;">&</b>| + /^commit/ s|.*|<b>&</b>| + /^diff/ s|.*|<b>&</b>| + /^+/ s|.*|<span style="color: green;">&</span>| + /^-/ s|.*|<span style="color: red;">&</span>| + /^@/ s|.*|<b style="color: blue;">&</b>| ' >> "$commit.html" echo "$FOOTER" >> "$commit.html" done