[X2Go-Commits] [maintenancescripts] 01/08: git/hooks/x2go-post-receive-tag-pending: use git rev-parse instead of complicated git show call to map a rev to an object SHA.

git-admin at x2go.org git-admin at x2go.org
Thu Mar 5 19:23:41 CET 2020


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit aaa583cb2816c1a07ee76dde8e47dc3e5b80a022
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Mar 4 17:13:40 2020 +0100

    git/hooks/x2go-post-receive-tag-pending: use git rev-parse instead of complicated git show call to map a rev to an object SHA.
---
 git/hooks/x2go-post-receive-tag-pending | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/x2go-post-receive-tag-pending b/git/hooks/x2go-post-receive-tag-pending
index e3b33a3..ccca08e 100755
--- a/git/hooks/x2go-post-receive-tag-pending
+++ b/git/hooks/x2go-post-receive-tag-pending
@@ -105,7 +105,7 @@ X2Go issue #${bug} (src:${PROJECT}) reported by you has been
 fixed in X2Go Git. You can see the changelog below, and you can
 check the diff of the fix at:
 
-    ${BASEURL};a=commitdiff;h=$(git show -s --pretty='format:%h' "${rev}")
+    ${BASEURL};a=commitdiff;h=$(git rev-parse "${rev}")
 
 The issue will most likely be fixed in src:${PROJECT} (${fixed_in_version}).
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list