From c5a9170a16353feae2780ae3f0b470ce2cc23688 Mon Sep 17 00:00:00 2001 From: mathias Date: Sat, 23 Feb 2019 15:09:41 +0200 Subject: [PATCH] Test another approach for schematic uploads --- bin/start | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/start b/bin/start index 837dc64..795199e 100755 --- a/bin/start +++ b/bin/start @@ -20,8 +20,7 @@ done' ./tmux new -d -s schematics 'while true; do cd $HOME/plugins/WorldEdit/schematics/ - if [ "$(git diff --name-only --diff-filter=A HEAD)" ]; then - git add --all + if [ "$(git add $(git ls-files -o) -v)" ]; then git -c user.name='kaboom' -c user.email='kaboom' commit -m "Add new schematics" git push fi