Przeglądaj źródła

Improve bulk-update-apps

Willy-JL 2 lat temu
rodzic
commit
301f5800f9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .utils/gitconfig

+ 1 - 1
.utils/gitconfig

@@ -1,4 +1,4 @@
 [alias]
     add-app = "!bash .utils/add-app.sh"
     update-app = "!bash .utils/update-app.sh"
-    bulk-update-apps = "!f() { find . -name .gitsubtree -execdir git update-app \\;; }; f"
+    bulk-update-apps = "!f() { set -e; find . -depth -maxdepth 2 -name .gitsubtree \\( -execdir git update-app \\; -o -quit \\); }; f"