]> git.proxmox.com Git - libgit2.git/commit
Refactor parsing methods
authorVicent Marti <tanoku@gmail.com>
Fri, 6 Aug 2010 22:59:58 +0000 (00:59 +0200)
committerVicent Marti <tanoku@gmail.com>
Fri, 6 Aug 2010 22:59:58 +0000 (00:59 +0200)
commit364788e1d114a174dd3c6fdfd3aa16d9627551b2
treececae822706ee4ddd4c661e11de9634547c8e766
parent7e4f56a5bb4a87cd9537821ba4ccd1f642481a0a
Refactor parsing methods

The 'parse_oid' and 'parse_person' methods which were used by the commit
parser are now global so they can be used when parsing other objects.

The 'git_commit_person' struct has been changed to a generic
'git_person'.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
src/commit.c
src/commit.h
src/git/commit.h
src/git/common.h
tests/t0401-parse.c
tests/t0402-details.c