Values for git-config.
authordsc <david.schoonover@gmail.com>
Tue, 21 Feb 2012 22:48:47 +0000 (14:48 -0800)
committerdsc <david.schoonover@gmail.com>
Tue, 21 Feb 2012 22:48:47 +0000 (14:48 -0800)
git_config.ini [new file with mode: 0644]
update-hooks-post-update.sh

diff --git a/git_config.ini b/git_config.ini
new file mode 100644 (file)
index 0000000..7b6f344
--- /dev/null
@@ -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
index 648026d..8e41460 100755 (executable)
@@ -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!"