From 0227d4d3beee7c000d77c0c7c8aa1823f2372e4a Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 13 Dec 2023 18:38:13 -0800 Subject: Add new scripts These were being used on duvel. --- mgagit-format-commit-email | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 mgagit-format-commit-email (limited to 'mgagit-format-commit-email') diff --git a/mgagit-format-commit-email b/mgagit-format-commit-email new file mode 100755 index 0000000..f41c3fc --- /dev/null +++ b/mgagit-format-commit-email @@ -0,0 +1,19 @@ +#!/bin/sh + +REV=$1 +if [ -z "$1" ]; then + echo "Unknown Commit" + exit +fi +if [ -z "$GL_REPO" ]; then + echo "Cannot find Gitolite Repository" + exit +fi + +echo '-----------------------------------------------------------------------' +echo +echo "http://gitweb.mageia.org/$GL_REPO/commit/?id=$REV" +echo +echo +git show -C $REV +echo -- cgit v1.2.1