Browse Source

Add in support for a "mid-sync" script

Samuel W. Flint 5 years ago
parent
commit
9f102bfd80
1 changed files with 1 additions and 0 deletions
  1. 1 0
      git-sync

+ 1 - 0
git-sync

@@ -12,6 +12,7 @@ cd $TREE
 [ -e pre-sync ] && sh pre-sync
 git stash push -u -m "SYNC SAVE"
 git pull
+[ -e mid-sync ] && sh mid-sync
 git push
 [ -e post-sync ] && sh post-sync
 if git stash list | grep "SYNC SAVE" >/dev/null ; then