[X2Go-Commits] [maintenancescripts] 02/03: git/hooks/update{, -merge}: move irkerhook logic to git/hooks/update-irkerhook_only.
git-admin at x2go.org
git-admin at x2go.org
Mon May 4 00:48:56 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit 24dbdab11709fae2eee2c64e043c9d5ff7c7eb8d
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon May 4 00:47:05 2015 +0200
git/hooks/update{,-merge}: move irkerhook logic to git/hooks/update-irkerhook_only.
---
git/hooks/update | 4 +---
git/hooks/update-merge | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/git/hooks/update b/git/hooks/update
index 2bb89c3..8d08b7e 100755
--- a/git/hooks/update
+++ b/git/hooks/update
@@ -13,8 +13,6 @@ NEW="${3}"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._branches+tags_"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._acl_"
-git rev-list --reverse "${OLD}..${NEW}" | while read cur_rev; do
- "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._irkerhook.py_" --refname="${REFNAME}" "${cur_rev}" --repo="${SHORT_GIT_REPO_NAME}" || :
-done
+. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-irkerhook_only"
. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._grant_"
diff --git a/git/hooks/update-merge b/git/hooks/update-merge
index bed1386..ec6f65e 100755
--- a/git/hooks/update-merge
+++ b/git/hooks/update-merge
@@ -13,8 +13,6 @@ NEW="${3}"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._branches+tags_"
#. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._acl_"
-git rev-list --reverse "${OLD}..${NEW}" | while read cur_rev; do
- "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-script._irkerhook.py_" --refname="${REFNAME}" "${cur_rev}" --repo="${SHORT_GIT_REPO_NAME}" || :
-done
+. "${GIT_DIR}/${OUTSIDE_REPO}/_hooks_/update-irkerhook_only"
. "${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