This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from da4d172 git/hooks/x2go-post-receive-close-bugs: use ${SHORT_GIT_REPO_NAME}. new c28b9b3 git/hooks/common.sh: revert GIT_REPO_NAME variable handling. 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 | 6 ++++++ 1 file changed, 6 insertions(+) -- Alioth's /home/x2go-admin/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 c28b9b36cc52bb8cb3585b78780d5c672731666a Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Nov 23 06:02:54 2017 +0100 git/hooks/common.sh: revert GIT_REPO_NAME variable handling. We still need that one. --- git/hooks/common.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/git/hooks/common.sh b/git/hooks/common.sh index babec15..1e6b279 100755 --- a/git/hooks/common.sh +++ b/git/hooks/common.sh @@ -4,6 +4,12 @@ umask 002 OUTSIDE_REPO="$(dirname "$(readlink -ne "${BASH_SOURCE}")")" +if [ "$(git rev-parse --is-bare-repository)" = "true" ]; then + GIT_REPO_NAME="$(basename "${PWD}")" +else + GIT_REPO_NAME="$(basename "$(readlink -nf "${PWD}/..")")" +fi + # Strip off .git for condensed output. SHORT_GIT_REPO_NAME="${GIT_REPO_NAME%.git}" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git