summaryrefslogtreecommitdiff
path: root/src/git2/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-01-13 04:34:23 +0200
committerVicent Marti <tanoku@gmail.com>2011-01-13 04:34:23 +0200
commitc5846fbf24f5c88704b2faa2a0905515936c874b (patch)
tree3b82187c07a6832e7bac2717657d0af6bfacb729 /src/git2/commit.h
parente52e38d3801f194d8c463266f6acb279856ccf8c (diff)
downloadlibgit2-c5846fbf24f5c88704b2faa2a0905515936c874b.tar.gz
Fix typo on Commit API
Proper function is 'git_commit_time_offset'. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git2/commit.h')
-rw-r--r--src/git2/commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git2/commit.h b/src/git2/commit.h
index 328f78ada..4d0b2ab99 100644
--- a/src/git2/commit.h
+++ b/src/git2/commit.h
@@ -104,7 +104,7 @@ GIT_EXTERN(time_t) git_commit_time(git_commit *commit);
* @param commit a previously loaded commit.
* @return positive or negative timezone offset, in minutes from UTC
*/
-GIT_EXTERN(int) git_commit_timezone_offset(git_commit *commit);
+GIT_EXTERN(int) git_commit_time_offset(git_commit *commit);
/**
* Get the committer of a commit.