Commit 8416c9ad by Vicent Marti

Rename `git_signature_new_now`

The new name is more cool.
parent 9e9e6ae1
......@@ -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_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);
}
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;
struct tm utc_tm, local_tm;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment