[X2Go-Commits] [maintenancescripts] 07/10: git/hooks/common.sh: add info() function.
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 23 21:34:42 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 f71d5385daec8aee83ccea8eef890a298a837140
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Feb 23 21:27:58 2015 +0100
git/hooks/common.sh: add info() function.
---
git/hooks/common.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/git/hooks/common.sh b/git/hooks/common.sh
index 9cf0882..e5b2f21 100755
--- a/git/hooks/common.sh
+++ b/git/hooks/common.sh
@@ -39,3 +39,8 @@ function grant() {
echo grant
exit 0
}
+
+function info() {
+ [ "$(make_boolean "${verbose}")" = "1" ] && echo "-Info- ${1}" >&2
+}
+
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
More information about the x2go-commits
mailing list