Add method to fetch raw commit message #345

Merged
kdambekalns merged 1 commits from commit-message-raw into next 2016-10-03 04:54:48 -05:00
kdambekalns commented 2016-09-09 09:26:32 -05:00 (Migrated from github.com)

The existing Commit.Message() returns the trimmed commit message. In some cases
it is important to retrieve the exact commit message, even if it contains surrounding
newlines.

This adds a new Commit.RawMessage() to be able to do that.

The existing `Commit.Message()` returns the trimmed commit message. In some cases it is important to retrieve the exact commit message, even if it contains surrounding newlines. This adds a new `Commit.RawMessage()` to be able to do that.
kdambekalns commented 2016-09-09 09:27:30 -05:00 (Migrated from github.com)

This is the use case: splitsh/lite#22

This is the use case: splitsh/lite#22
kdambekalns commented 2016-09-22 01:18:35 -05:00 (Migrated from github.com)

Someone tweeted me to try and mention @carlosmn to get attention for this one… :) Hope it helps… Thanks!

Someone tweeted me to try and mention @carlosmn to get attention for this one… :) Hope it helps… Thanks!
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#345
No description provided.