Rename git_signature_new_now

The new name is more cool.
This commit is contained in:
Vicent Marti 2011-04-09 15:31:12 -07:00
parent 9e9e6ae177
commit 8416c9adcc
2 changed files with 2 additions and 2 deletions

View File

@ -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);
/**

View File

@ -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;