Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
9e4d421e
Commit
9e4d421e
authored
Jan 15, 2019
by
Etienne Samson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: clarify that git_time_t is seconds from the epoch
parent
e9a34864
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/git2/signature.h
+2
-2
include/git2/types.h
+1
-1
No files found.
include/git2/signature.h
View file @
9e4d421e
...
@@ -30,8 +30,8 @@ GIT_BEGIN_DECL
...
@@ -30,8 +30,8 @@ GIT_BEGIN_DECL
* @param out new signature, in case of error NULL
* @param out new signature, in case of error NULL
* @param name name of the person
* @param name name of the person
* @param email email of the person
* @param email email of the person
* @param time time when the action happened
* @param time time
(in seconds from epoch)
when the action happened
* @param offset timezone offset
in minutes
for the time
* @param offset timezone offset
(in minutes)
for the time
* @return 0 or an error code
* @return 0 or an error code
*/
*/
GIT_EXTERN
(
int
)
git_signature_new
(
git_signature
**
out
,
const
char
*
name
,
const
char
*
email
,
git_time_t
time
,
int
offset
);
GIT_EXTERN
(
int
)
git_signature_new
(
git_signature
**
out
,
const
char
*
name
,
const
char
*
email
,
git_time_t
time
,
int
offset
);
...
...
include/git2/types.h
View file @
9e4d421e
...
@@ -59,7 +59,7 @@ typedef __haiku_std_int64 git_time_t;
...
@@ -59,7 +59,7 @@ typedef __haiku_std_int64 git_time_t;
* app, even though /we/ define _FILE_OFFSET_BITS=64.
* app, even though /we/ define _FILE_OFFSET_BITS=64.
*/
*/
typedef
int64_t
git_off_t
;
typedef
int64_t
git_off_t
;
typedef
int64_t
git_time_t
;
typedef
int64_t
git_time_t
;
/**< time in seconds from epoch */
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment