Commit c5846fbf24f5c88704b2faa2a0905515936c874b

Vicent Marti 2011-01-13T04:34:23

Fix typo on Commit API Proper function is 'git_commit_time_offset'. Signed-off-by: Vicent Marti <tanoku@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/git2/commit.h b/src/git2/commit.h
index 328f78a..4d0b2ab 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.