summaryrefslogtreecommitdiff
path: root/src/git2/commit.h
diff options
context:
space:
mode:
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.