summaryrefslogtreecommitdiff
path: root/src/git/commit.h
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2010-04-23 09:59:22 +0200
committerAndreas Ericsson <ae@op5.se>2010-04-23 09:59:22 +0200
commitfb799dfe77c7a1c9e2806c0021d659b5588d9105 (patch)
treeff02f4077fc8420d328c8b91c1f5b2e71a7c19c8 /src/git/commit.h
parent100746511cc45c9f1ad6721c4ef5be49222fee4d (diff)
parent2cdc4544233b503a5aff7dd1baa4ba8743fef7ab (diff)
downloadlibgit2-fb799dfe77c7a1c9e2806c0021d659b5588d9105.tar.gz
Merge remote branch 'ramsay/dev'
* ramsay/dev: Add a pack index 'virtual function' to fetch an index entry Add a pack index 'virtual function' to search by file offset Change the interface of the pack index search function Add an 64-bit offset table index bounds check for v2 pack index Add a minimum size check when opening an v2 pack index file win32: Add separate MinGW and MSVC compatability header files Makefile: Add support for custom build options in config.mak file Fix some coding style issues
Diffstat (limited to 'src/git/commit.h')
-rw-r--r--src/git/commit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git/commit.h b/src/git/commit.h
index 979709bdb..010f258ae 100644
--- a/src/git/commit.h
+++ b/src/git/commit.h
@@ -25,14 +25,14 @@ typedef struct git_commit git_commit;
* pool's git_odb, or if the commit is present but is
* too malformed to be parsed successfully.
*/
-GIT_EXTERN(git_commit*) git_commit_parse(git_revpool *pool, const git_oid *id);
+GIT_EXTERN(git_commit *) git_commit_parse(git_revpool *pool, const git_oid *id);
/**
* Get the id of a commit.
* @param commit a previously parsed commit.
* @return object identity for the commit.
*/
-GIT_EXTERN(const git_oid*) git_commit_id(git_commit *commit);
+GIT_EXTERN(const git_oid *) git_commit_id(git_commit *commit);
/** @} */
GIT_END_DECL