summaryrefslogtreecommitdiffstats
path: root/Source/cmProcessTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-23 13:14:43 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-23 13:14:43 (GMT)
commitbbfe241c6a4386a39ebb93cdb70a8390eab14eef (patch)
tree054d21feea9aa984dfe692a4d562b68c091e2b8a /Source/cmProcessTools.h
parentb1418625645ebef66e54d75004c82d88807e154f (diff)
downloadCMake-bbfe241c6a4386a39ebb93cdb70a8390eab14eef.zip
CMake-bbfe241c6a4386a39ebb93cdb70a8390eab14eef.tar.gz
CMake-bbfe241c6a4386a39ebb93cdb70a8390eab14eef.tar.bz2
CTest: Parse empty Git commits correctly
Git's diff-tree format has no '\n'-terminated blank line at the end of its commit message body block if there are no diff lines. Instead the message body is terminated by '\0' and there is no diff section. Teach CTest to parse the format in this case.
Diffstat (limited to 'Source/cmProcessTools.h')
-rw-r--r--Source/cmProcessTools.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmProcessTools.h b/Source/cmProcessTools.h
index 0b210af..439726d 100644
--- a/Source/cmProcessTools.h
+++ b/Source/cmProcessTools.h
@@ -55,6 +55,7 @@ public:
bool IgnoreCR;
std::ostream* Log;
const char* Prefix;
+ char LineEnd;
std::string Line;
virtual bool ProcessChunk(const char* data, int length);