This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from 149dea6 git/hooks/update-script._irkerhook.py_: employ weird workaround to make irkerhook correctly apply data to the templäte in case of Unicode characters in the log message, author name or email address. new 76717b5 git/hooks/common.sh: simplify and fix hooks directory discovery. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: git/hooks/common.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 76717b56790c2328e5ff25ebe1280552855fe66e Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Nov 23 05:20:54 2017 +0100 git/hooks/common.sh: simplify and fix hooks directory discovery. --- git/hooks/common.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/git/hooks/common.sh b/git/hooks/common.sh index 71aeb77..babec15 100755 --- a/git/hooks/common.sh +++ b/git/hooks/common.sh @@ -2,13 +2,7 @@ umask 002 -if [ "$(git rev-parse --is-bare-repository)" = "true" ]; then - GIT_REPO_NAME="$(basename "${PWD}")" - OUTSIDE_REPO="/../" -else - GIT_REPO_NAME="$(basename "$(readlink -nf "${PWD}/..")")" - OUTSIDE_REPO="/../../" -fi +OUTSIDE_REPO="$(dirname "$(readlink -ne "${BASH_SOURCE}")")" # Strip off .git for condensed output. SHORT_GIT_REPO_NAME="${GIT_REPO_NAME%.git}" -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git