Commit 8416c9adccc6ee6d5aeb09153db7315622bf12a1

Vicent Marti 2011-04-09T15:31:12

Rename `git_signature_new_now` The new name is more cool.

diff --git a/include/git2/signature.h b/include/git2/signature.h
index 013ce74..44d1f28 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 0e83313..c5b175c 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;