diff options
author | Brad King <brad.king@kitware.com> | 2010-05-07 13:17:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-05-07 13:17:26 (GMT) |
commit | 678073bec29201e9edba2b00b6f3c96a528fe610 (patch) | |
tree | 987e47e396d56c10c0e544ca6e5504d58551534e /Source/CTest/cmCTestGIT.cxx | |
parent | 162597e4bff5348e17e1b0f0261310b502ffe7fd (diff) | |
download | CMake-678073bec29201e9edba2b00b6f3c96a528fe610.zip CMake-678073bec29201e9edba2b00b6f3c96a528fe610.tar.gz CMake-678073bec29201e9edba2b00b6f3c96a528fe610.tar.bz2 |
CTest: Submit author email in Update.xml
Add the <Email>...</Email> element in Update.xml for each commit
reported. This field was defined by Dart but never really used.
Distributed version control systems use author name and email
instead of a user id, so now it makes sense to use this field.
Diffstat (limited to 'Source/CTest/cmCTestGIT.cxx')
-rw-r--r-- | Source/CTest/cmCTestGIT.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGIT.cxx b/Source/CTest/cmCTestGIT.cxx index 8bac518..156a938 100644 --- a/Source/CTest/cmCTestGIT.cxx +++ b/Source/CTest/cmCTestGIT.cxx @@ -347,6 +347,7 @@ private: Person author; this->ParsePerson(this->Line.c_str()+7, author); this->Rev.Author = author.Name; + this->Rev.EMail = author.EMail; // Convert the time to a human-readable format that is also easy // to machine-parse: "CCYY-MM-DD hh:mm:ss". |