Prechádzať zdrojové kódy

Add cached skip message

Willy-JL 1 rok pred
rodič
commit
addde485f6
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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)"