|
@@ -9,6 +9,12 @@ TREE=$(dirname $GITDIR)
|
|
|
|
|
|
cd $TREE
|
|
cd $TREE
|
|
|
|
|
|
|
|
+if [ -d .git/annex ] ; then
|
|
|
|
+ echo "In an annex repository"
|
|
|
|
+ git annex sync
|
|
|
|
+ exit
|
|
|
|
+fi
|
|
|
|
+
|
|
[ -e pre-sync ] && sh pre-sync
|
|
[ -e pre-sync ] && sh pre-sync
|
|
git stash push -u -m "SYNC SAVE"
|
|
git stash push -u -m "SYNC SAVE"
|
|
git pull --all
|
|
git pull --all
|