Explorar el Código

Add cached skip message

Willy-JL hace 1 año
padre
commit
addde485f6
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      .utils/subtree-subdir-helper.sh

+ 3 - 1
.utils/subtree-subdir-helper.sh

@@ -30,7 +30,9 @@ if [ -f "${cache}" ]; then
     fi
 fi
 ok=true
-if ! $skip; then
+if $skip; then
+    echo "No updates, skipping expensive subtree split."
+else
     git checkout "${fetch}"
     exec {capture}>&1
     result="$(git subtree split -P "${subdir}" -b "${split}" 2>&1 | tee /proc/self/fd/$capture)"