From de502085e070e237a3f36f81f970093d4801439f Mon Sep 17 00:00:00 2001 From: dsc Date: Tue, 21 Feb 2012 14:48:47 -0800 Subject: [PATCH] Values for git-config. --- git_config.ini | 4 ++++ update-hooks-post-update.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 git_config.ini diff --git a/git_config.ini b/git_config.ini new file mode 100644 index 0000000..7b6f344 --- /dev/null +++ b/git_config.ini @@ -0,0 +1,4 @@ +hooks.envelopesender=noreply@less.ly +hooks.mailinglist=fabian.kaelin@gmail.com,aotto@wikimedia.org,dvanliere@wikimedia.org,dschoonover@wikimedia.org +hooks.emailprefix=[kraken-ui] +hooks.showrev=git show -C %s \ No newline at end of file diff --git a/update-hooks-post-update.sh b/update-hooks-post-update.sh index 648026d..8e41460 100755 --- a/update-hooks-post-update.sh +++ b/update-hooks-post-update.sh @@ -23,14 +23,14 @@ join () { local sep="$1" old="$IFS"; export IFS=\n; read -t1 out; while read -t log "Updating hooks repo (${HOOKS_REPO})...\n" -{ cd $CHECKOUTS/$HOOKS_REPO && +{ cd ${CHECKOUTS}/${HOOKS_REPO} && git fetch --all && git pull origin master } || fail "Problem running fetch & pull on ${HOOKS_REPO}.git!" log "\nCopying hooks into target repo (${TARGET_REPO})...\n" { log "rsync ./hooks/ $REPOS/${TARGET_REPO}.git/hooks/" && - rsync ./hooks/ $REPOS/${TARGET_REPO}.git/hooks/ + rsync ./hooks/ ${REPOS}/${TARGET_REPO}.git/hooks/ } || fail "Problem rsync-ing hooks to $REPOS/$TARGET_REPO.git/hooks!" log "\nok!" -- 1.7.0.4