Tweak the email format.
[git-central.git] / tests / t2201-2.txt
1 To: commits@list.com
2 Subject: [cbas] master branch updated. 1.0-2-g$new_commit_abbrev
3 X-Git-Refname: refs/heads/master
4 X-Git-Reftype: branch
5 X-Git-Oldrev: $old_commit_hash
6 X-Git-Newrev: $new_commit_hash
7
8 The branch, master has been updated
9        via  $new_commit_hash (commit)
10        via  $prior_commit_hash (commit)
11       from  $old_commit_hash (commit)
12
13 Those revisions listed above that are new to this repository have
14 not appeared on any other notification email; so we list those
15 revisions in full, below.
16
17 - Log -----------------------------------------------------------------
18 commit $prior_commit_hash
19 Author: A U Thor <author@example.com>
20 Date:   $prior_commit_date
21
22     commit on tag branch
23
24 commit $new_commit_hash
25 Author: A U Thor <author@example.com>
26 Date:   $new_commit_date
27
28     commit on tag branch 2
29
30 -----------------------------------------------------------------------
31
32 Summary of changes:
33  a |    2 +-
34  1 files changed, 1 insertions(+), 1 deletions(-)
35
36 diff --git a/a b/a
37 index 146f275..affecee 100644
38 --- a/a
39 +++ b/a
40 @@ -1 +1 @@
41 -setup
42 +commit on tag branch 2
43
44
45 hooks/post-receive
46 --
47 cbas