Pārlūkot izejas kodu

Add in support for a "mid-sync" script

Samuel W. Flint 5 gadi atpakaļ
vecāks
revīzija
9f102bfd80
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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