diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-08 18:31:05 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-09 02:40:16 +0200 |
commit | d483a911b89eaecb3af603efe2dceeb402cbf3ae (patch) | |
tree | 099ecf8ae6cbf731cb571cf2278b7c89cf0d75c3 /src/commit.c | |
parent | 27df4275f2b3301f117f538929f51f0e86f9f716 (diff) | |
download | libgit2-d483a911b89eaecb3af603efe2dceeb402cbf3ae.tar.gz |
signature: Fix optional header
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c index c94ea761..f7c26a68 100644 --- a/src/commit.c +++ b/src/commit.c @@ -125,8 +125,8 @@ int git_commit_create( git_odb_stream *stream; message_length = strlen(message); - author_length = git_signature__write(&author_str, "author", author); - committer_length = git_signature__write(&committer_str, "committer", committer); + author_length = git_signature__write(&author_str, "author ", author); + committer_length = git_signature__write(&committer_str, "committer ", committer); if (author_length < 0 || committer_length < 0) return git__throw(GIT_EINVALIDARGS, "Cannot create commit. Failed to parse signature"); |