+++ /dev/null
-#!/bin/sh
-# Update git-scripts after pushing to master at git-scripts.git.
-# This hook must be in git-scripts.git/hooks/post-update.
-
-for ref in "$@"; do
- if [ "$ref" = refs/heads/master ]; then
- unset GIT_DIR
- cd ../git-scripts &&
- if ! git remote show -n origin 2>/dev/null; then
- git remote add origin ../git-scripts.git
- fi &&
- git pull origin master &&
- git push origin master
- exit
- fi
-done