libgit-thin: git_commit_author_name(): avoid malloc() & memcpy()
commitd5deb6eecc503c27b66f607dd6694609debf04f7
authorLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Sun, 29 Jul 2007 14:45:19 +0000 (29 11:45 -0300)
committerLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Sun, 29 Jul 2007 14:45:19 +0000 (29 11:45 -0300)
treecc6bdfaf856fbbda1b8a67358e842c08493e0be3
parent065f593632cf19422fecb27b7a88ec14a4b4b8af
libgit-thin: git_commit_author_name(): avoid malloc() & memcpy()

This is an API change to avoid unecessrary copy and memory allocations,
most libgit-thin users will convert strings to their own types.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@gmail.com>
libgit-thin/ltcommit.c
libgit-thin/ltcommit.h
libgit-thin/tests/ltcommit-suite.c