diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-04-09 15:31:12 -0700 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-04-09 15:31:12 -0700 |
| commit | 8416c9adccc6ee6d5aeb09153db7315622bf12a1 (patch) | |
| tree | faf9fa0644f840e303344bda4c776f07da17d694 | |
| parent | 9e9e6ae177332f5c1311eff9c9b5ca9740e04dbd (diff) | |
| download | libgit2-8416c9adccc6ee6d5aeb09153db7315622bf12a1.tar.gz | |
Rename `git_signature_new_now`
The new name is more cool.
| -rw-r--r-- | include/git2/signature.h | 2 | ||||
| -rw-r--r-- | src/signature.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/signature.h b/include/git2/signature.h index 013ce7460..44d1f285e 100644 --- a/include/git2/signature.h +++ b/include/git2/signature.h @@ -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); /** diff --git a/src/signature.c b/src/signature.c index 0e8331365..c5b175cf3 100644 --- a/src/signature.c +++ b/src/signature.c @@ -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; |
