Skip to content

Commit

Permalink
Merge pull request #13 from jslee02/fix_multiline_message
Browse files Browse the repository at this point in the history
[Fix #12] Replace \n with \\n of git commit message
  • Loading branch information
JoakimSoderberg committed Mar 18, 2016
2 parents ed1384f + 51c8b69 commit 127e0bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/CoverallsGenerateGcov.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ if (GIT_FOUND)
git_log_format(B GIT_COMMIT_MESSAGE)
git_log_format(H GIT_COMMIT_HASH)

string(REPLACE "\n" "\\n" GIT_COMMIT_MESSAGE ${GIT_COMMIT_MESSAGE})

message("Git exe: ${GIT_EXECUTABLE}")
message("Git branch: ${GIT_BRANCH}")
message("Git author: ${GIT_AUTHOR_NAME}")
Expand Down

0 comments on commit 127e0bb

Please sign in to comment.