[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/update{, -merge}: use more quoting, set repo directly.
git-admin at x2go.org
git-admin at x2go.org
Thu Mar 26 12:24:39 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit e48496505f0a0924bd50c1b08bcee839c73c2f91
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Mar 26 12:24:30 2015 +0100
git/hooks/update{,-merge}: use more quoting, set repo directly.
---
git/hooks/update | 2 +-
git/hooks/update-merge | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/git/hooks/update b/git/hooks/update
index bf4a51c..604c129 100755
--- a/git/hooks/update
+++ b/git/hooks/update
@@ -12,5 +12,5 @@ NEW="${3}"
. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._check_"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._branches+tags_"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._acl_"
-"${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._irkerhook.py_" --refname=${REFNAME} $(git rev-list --reverse ${OLD}..${NEW})
+"${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._irkerhook.py_" --refname="${REFNAME}" "$(git rev-list --reverse ${OLD}..${NEW})" --repo="${GIT_REPO_NAME}"
. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._grant_"
diff --git a/git/hooks/update-merge b/git/hooks/update-merge
index f637101..f521aec 100755
--- a/git/hooks/update-merge
+++ b/git/hooks/update-merge
@@ -12,5 +12,5 @@ NEW="${3}"
. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._check+allow-merges_"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._branches+tags_"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._acl_"
-"${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._irkerhook.py_" --refname=${REFNAME} $(git rev-list --reverse ${OLD}..${NEW})
+"${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._irkerhook.py_" --refname="${REFNAME}" "$(git rev-list --reverse ${OLD}..${NEW})" --repo="${GIT_REPO_NAME}"
. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._grant_"
--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
More information about the x2go-commits
mailing list