summaryrefslogtreecommitdiffstats
path: root/mgagit-format-commit-email
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2023-12-13 18:38:13 -0800
committerDan Fandrich <dan@coneharvesters.com>2024-02-03 17:54:49 -0800
commit0227d4d3beee7c000d77c0c7c8aa1823f2372e4a (patch)
tree425198f5ac6588bd37d87c496a4eebeacbbbe012 /mgagit-format-commit-email
parent85fa0aea48bff9340dffda6d136035f283863237 (diff)
downloadmgatools-0227d4d3beee7c000d77c0c7c8aa1823f2372e4a.tar
mgatools-0227d4d3beee7c000d77c0c7c8aa1823f2372e4a.tar.gz
mgatools-0227d4d3beee7c000d77c0c7c8aa1823f2372e4a.tar.bz2
mgatools-0227d4d3beee7c000d77c0c7c8aa1823f2372e4a.tar.xz
mgatools-0227d4d3beee7c000d77c0c7c8aa1823f2372e4a.zip
Add new scripts
These were being used on duvel.
Diffstat (limited to 'mgagit-format-commit-email')
-rwxr-xr-xmgagit-format-commit-email19
1 files changed, 19 insertions, 0 deletions
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