]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/html/default.css
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 8 Oct 2024 20:14:57 +0000 (22:14 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 8 Oct 2024 20:14:57 +0000 (22:14 +0200)
.githooks/pre-commit
www/dbq/html/default.css

index 15546923ec91b27b13ea1852366187445503f64f..01c0d3520175a404d0572f83ab877ca99acaef58 100755 (executable)
@@ -13,8 +13,10 @@ MINIFY=""
 [ -z "$MINIFY" ] && minify --help 2>&1| grep -q '\-\-css' && MINIFY="ext"
 [ -z "$MINIFY" ] && minify --help 2>&1| grep -q '\-\-output' && MINIFY="out"
 [ -n "$MINIFY" ] || exit
+git status --porcelain|sed -E 's/^ *(\?\?|[A-Z]) +//'
+#exec echo BYE
 
-git status --porcelain | sed 's/^ . //' | while read file; do
+git status --porcelain|sed -E 's/^ *(\?\?|[A-Z]) +//' | while read file; do
        ext=""
        case "$file" in
                *.min.*) continue ;;
index a9741c92b86116adf681daedad8edeb668234bf0..6d0c3c43b854e8d7337b940fcab5a6552ca6b0c1 100644 (file)
@@ -121,7 +121,7 @@ a.active, .active a {
        display: list-item;
 }
 
-.todel-test4,
+.todel-test6,
 .db-rows div.list .list.item.capitalize {
        text-transform: capitalize;
        list-style: circle inside none;