Add git_commit_message_encoding support #506

Merged
takuji merged 1 commits from git_commit_message_encoding into master 2019-06-18 04:39:26 -05:00
takuji commented 2019-05-10 08:07:17 -05:00 (Migrated from github.com)

This adds MessageEncoding() method to Commit struct, which simply returns the result of git_commit_message_encoding function.

I want to add git_commit_message_encoding function support because I encountered a problem where commit messages must be assured of being UTF-8 to pass them through gRPC.
For the purpose, I need to know the encoding of commit messages.

Thanks.

This adds MessageEncoding() method to Commit struct, which simply returns the result of git_commit_message_encoding function. I want to add git_commit_message_encoding function support because I encountered a problem where commit messages must be assured of being UTF-8 to pass them through gRPC. For the purpose, I need to know the encoding of commit messages. Thanks.
carlosmn commented 2019-06-18 04:39:33 -05:00 (Migrated from github.com)

Thanks.

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#506
No description provided.