From d483a911b89eaecb3af603efe2dceeb402cbf3ae Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 8 Jul 2011 18:31:05 +0200 Subject: signature: Fix optional header --- src/commit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commit.c') diff --git a/src/commit.c b/src/commit.c index c94ea7618..f7c26a682 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"); -- cgit v1.2.1