Fix post-receive-email test for USER_EMAIL variable.
[git-central.git] / tests / t2200-1.txt
index 1bcbb9a..79f3e01 100644 (file)
@@ -1,3 +1,4 @@
+From: author@example.com
 To: commits@list.com
 Subject: [cbas] master branch updated. $new_commit_hash
 X-Git-Refname: refs/heads/master
@@ -6,26 +7,22 @@ X-Git-Oldrev: $old_commit_hash
 X-Git-Newrev: $new_commit_hash
 
 The branch, master has been updated
-       via  $new_commit_hash (commit)
-      from  $old_commit_hash (commit)
+       via $new_commit_abbrev simple commit
+      from $old_commit_abbrev setup
 
 Those revisions listed above that are new to this repository have
 not appeared on any other notification email; so we list those
 revisions in full, below.
 
 - Log -----------------------------------------------------------------
+
 commit $new_commit_hash
 Author: A U Thor <author@example.com>
 Date:   $new_commit_date
 
     simple commit
 
------------------------------------------------------------------------
-
-Summary of changes:
- a |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
+$new_commit_hash
 diff --git a/a b/a
 index 146f275..b38f23c 100644
 --- a/a
@@ -34,7 +31,8 @@ index 146f275..b38f23c 100644
 -setup
 +simple commit
 
+-----------------------------------------------------------------------
 
-hooks/post-receive
---
-cbas
+Summary of changes:
+ a |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)