mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-23 04:56:54 +00:00
Rename git_signature_new_now
The new name is more cool.
This commit is contained in:
parent
9e9e6ae177
commit
8416c9adcc
@ -57,7 +57,7 @@ GIT_EXTERN(git_signature *) git_signature_new(const char *name, const char *emai
|
|||||||
* @param email email of the person
|
* @param email email of the person
|
||||||
* @return the new sig, NULL on out of memory
|
* @return the new sig, NULL on out of memory
|
||||||
*/
|
*/
|
||||||
GIT_EXTERN(git_signature *) git_signature_new_now(const char *name, const char *email);
|
GIT_EXTERN(git_signature *) git_signature_now(const char *name, const char *email);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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);
|
return git_signature_new(sig->name, sig->email, sig->when.time, sig->when.offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
git_signature *git_signature_new_now(const char *name, const char *email)
|
git_signature *git_signature_now(const char *name, const char *email)
|
||||||
{
|
{
|
||||||
time_t now;
|
time_t now;
|
||||||
struct tm utc_tm, local_tm;
|
struct tm utc_tm, local_tm;
|
||||||
|
Loading…
Reference in New Issue
Block a user