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
8416c9ad
Commit
8416c9ad
authored
Apr 09, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename `git_signature_new_now`
The new name is more cool.
parent
9e9e6ae1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/git2/signature.h
+1
-1
src/signature.c
+1
-1
No files found.
include/git2/signature.h
View file @
8416c9ad
...
...
@@ -57,7 +57,7 @@ GIT_EXTERN(git_signature *) git_signature_new(const char *name, const char *emai
* @param email email of the person
* @return the new sig, NULL on out of memory
*/
GIT_EXTERN
(
git_signature
*
)
git_signature_n
ew_n
ow
(
const
char
*
name
,
const
char
*
email
);
GIT_EXTERN
(
git_signature
*
)
git_signature_now
(
const
char
*
name
,
const
char
*
email
);
/**
...
...
src/signature.c
View file @
8416c9ad
...
...
@@ -65,7 +65,7 @@ git_signature *git_signature_dup(const git_signature *sig)
return
git_signature_new
(
sig
->
name
,
sig
->
email
,
sig
->
when
.
time
,
sig
->
when
.
offset
);
}
git_signature
*
git_signature_n
ew_n
ow
(
const
char
*
name
,
const
char
*
email
)
git_signature
*
git_signature_now
(
const
char
*
name
,
const
char
*
email
)
{
time_t
now
;
struct
tm
utc_tm
,
local_tm
;
...
...
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