]> git.droids-corp.org - git-central.git/commitdiff
Tweak the email format.
authorStephen Haberman <stephen@exigencecorp.com>
Tue, 24 Jun 2008 08:38:54 +0000 (03:38 -0500)
committerStephen Haberman <stephen@exigencecorp.com>
Tue, 24 Jun 2008 08:38:54 +0000 (03:38 -0500)
tests/t2200-1.txt
tests/t2200-server-post-receive-email.sh
tests/t2201-1.txt
tests/t2201-2.txt
tests/t2201-3.txt
tests/t2201-server-post-receive-email-tags.sh
tests/t2202-1.txt
tests/t2202-2.txt
tests/t2202-server-post-receive-email-branches.sh

index 1917a8ed6a96d91073f1ca471f29054e0fe9e3ef..1bcbb9aac4238298510db49fedb1175d6036342e 100644 (file)
@@ -1,14 +1,10 @@
 To: commits@list.com
-Subject: [SCM] UNNAMED PROJECT branch, master, updated. $new_commit_hash
+Subject: [cbas] master branch updated. $new_commit_hash
 X-Git-Refname: refs/heads/master
 X-Git-Reftype: branch
 X-Git-Oldrev: $old_commit_hash
 X-Git-Newrev: $new_commit_hash
 
-This is an automated email from the git hooks/post-receive script. It was
-generated because a ref change was pushed to the repository containing
-the project "UNNAMED PROJECT".
-
 The branch, master has been updated
        via  $new_commit_hash (commit)
       from  $old_commit_hash (commit)
@@ -41,4 +37,4 @@ index 146f275..b38f23c 100644
 
 hooks/post-receive
 --
-UNNAMED PROJECT
+cbas
index 1eda0d81284e0d08cd2fc6fb5d1dad74baa7f53c..c49ad53a643721db7a2246ffe4cc94b918eb4efd 100644 (file)
@@ -16,6 +16,7 @@ test_expect_success 'setup' '
        GIT_DIR=./server/.git git config --add hooks.mailinglist commits@list.com &&
        GIT_DIR=./server/.git git config --add hooks.debug true &&
        GIT_DIR=.
+       echo cbas >./server/.git/description
 '
 
 install_server_hook 'post-receive-email' 'post-receive'
index 3a0dbc64d2a738f6035c357806fe5ee213d67ab4..187053f6e963b1c04d83fdcd8cb2d3e9676abe17 100644 (file)
@@ -1,14 +1,10 @@
 To: commits@list.com
-Subject: [SCM] UNNAMED PROJECT annotated tag, 1.0, created. 1.0
+Subject: [cbas] 1.0 annotated tag created. 1.0
 X-Git-Refname: refs/tags/1.0
 X-Git-Reftype: annotated tag
 X-Git-Oldrev: 0000000000000000000000000000000000000000
 X-Git-Newrev: $tag_hash
 
-This is an automated email from the git hooks/post-receive script. It was
-generated because a ref change was pushed to the repository containing
-the project "UNNAMED PROJECT".
-
 The annotated tag, 1.0 has been created
         at  $tag_hash (tag)
    tagging  $new_commit_hash (commit)
@@ -26,4 +22,4 @@ A U Thor (1):
 
 hooks/post-receive
 --
-UNNAMED PROJECT
+cbas
index 2110bc9d3e965c4f8cca81d3d7c22c65cb47d3c4..70d21829f6abdb582525b20fff686685a3c90f4e 100644 (file)
@@ -1,14 +1,10 @@
 To: commits@list.com
-Subject: [SCM] UNNAMED PROJECT branch, master, updated. 1.0-2-g$new_commit_abbrev
+Subject: [cbas] master branch updated. 1.0-2-g$new_commit_abbrev
 X-Git-Refname: refs/heads/master
 X-Git-Reftype: branch
 X-Git-Oldrev: $old_commit_hash
 X-Git-Newrev: $new_commit_hash
 
-This is an automated email from the git hooks/post-receive script. It was
-generated because a ref change was pushed to the repository containing
-the project "UNNAMED PROJECT".
-
 The branch, master has been updated
        via  $new_commit_hash (commit)
        via  $prior_commit_hash (commit)
@@ -48,4 +44,4 @@ index 146f275..affecee 100644
 
 hooks/post-receive
 --
-UNNAMED PROJECT
+cbas
index 4f3442cacdfd17298fd29a2961ae2bab50a3d3e1..bb10a0c1b67e60719364bf6a95394281f1a505d8 100644 (file)
@@ -1,14 +1,10 @@
 To: commits@list.com
-Subject: [SCM] UNNAMED PROJECT annotated tag, 2.0, created. 2.0
+Subject: [cbas] 2.0 annotated tag created. 2.0
 X-Git-Refname: refs/tags/2.0
 X-Git-Reftype: annotated tag
 X-Git-Oldrev: 0000000000000000000000000000000000000000
 X-Git-Newrev: $tag_hash
 
-This is an automated email from the git hooks/post-receive script. It was
-generated because a ref change was pushed to the repository containing
-the project "UNNAMED PROJECT".
-
 The annotated tag, 2.0 has been created
         at  $tag_hash (tag)
    tagging  $new_commit_hash (commit)
@@ -28,4 +24,4 @@ A U Thor (2):
 
 hooks/post-receive
 --
-UNNAMED PROJECT
+cbas
index 2a5fb7b95b110686dae39ed68561694af324e5db..ed823da1e18811580aa5f422540a9e033bd8c30c 100644 (file)
@@ -16,6 +16,7 @@ test_expect_success 'setup' '
        GIT_DIR=./server/.git git config --add hooks.mailinglist commits@list.com &&
        GIT_DIR=./server/.git git config --add hooks.debug true &&
        GIT_DIR=.
+       echo cbas >./server/.git/description
 '
 
 install_server_hook 'post-receive-email' 'post-receive'
index b9c3b3a0fedd0d58c80fd221fdf04e993855abc3..bc5bb5132976e38fbb1e0d761869c6c7d957ab69 100644 (file)
@@ -1,14 +1,10 @@
 To: commits@list.com
-Subject: [SCM] UNNAMED PROJECT branch, topic, created. $new_commit_hash
+Subject: [cbas] topic branch created. $new_commit_hash
 X-Git-Refname: refs/heads/topic
 X-Git-Reftype: branch
 X-Git-Oldrev: 0000000000000000000000000000000000000000
 X-Git-Newrev: $new_commit_hash
 
-This is an automated email from the git hooks/post-receive script. It was
-generated because a ref change was pushed to the repository containing
-the project "UNNAMED PROJECT".
-
 The branch, topic has been created
         at  $new_commit_hash (commit)
 
@@ -42,4 +38,4 @@ index 146f275..8516a40 100644
 
 hooks/post-receive
 --
-UNNAMED PROJECT
+cbas
index 3df1b9029638cc248d94877fe44ef7a9535ea880..2227e4de1dcfbcfbba7fe708e0582d13a66bc204 100644 (file)
@@ -1,14 +1,10 @@
 To: commits@list.com
-Subject: [SCM] UNNAMED PROJECT branch, topic, deleted. $old_commit_hash
+Subject: [cbas] topic branch deleted. $old_commit_hash
 X-Git-Refname: refs/heads/topic
 X-Git-Reftype: branch
 X-Git-Oldrev: $old_commit_hash
 X-Git-Newrev: 0000000000000000000000000000000000000000
 
-This is an automated email from the git hooks/post-receive script. It was
-generated because a ref change was pushed to the repository containing
-the project "UNNAMED PROJECT".
-
 The branch, topic has been deleted
        was  $old_commit_hash
 
@@ -19,4 +15,4 @@ $old_commit_hash create branch on topic 2
 
 hooks/post-receive
 --
-UNNAMED PROJECT
+cbas
index da2f7c73503681c51842486d59cf86e425a2ee76..ad34ad257e843a36e6fc8ab7ca3ae0b54f33ca21 100644 (file)
@@ -16,6 +16,7 @@ test_expect_success 'setup' '
        GIT_DIR=./server/.git git config --add hooks.mailinglist commits@list.com &&
        GIT_DIR=./server/.git git config --add hooks.debug true &&
        GIT_DIR=.
+       echo cbas >./server/.git/description
 '
 
 install_server_hook 'post-receive-email' 'post-receive'