Skip to content

Commit

Permalink
Merge pull request #638 from dartsim/fix_coveralls_multiline_message
Browse files Browse the repository at this point in the history
Fix invalid coveralls report file generation with multiline commit message
  • Loading branch information
jslee02 committed Mar 18, 2016
2 parents 26db3c7 + 16dc3bb commit 03ca757
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 03ca757

Please sign in to comment.