]> git.proxmox.com Git - libgit2.git/commit - include/git2/signature.h
Add API git_signature_new_now
authorCarlos Martín Nieto <cmn@elego.de>
Tue, 5 Apr 2011 14:15:54 +0000 (16:15 +0200)
committerVicent Marti <tanoku@gmail.com>
Sat, 9 Apr 2011 22:29:48 +0000 (15:29 -0700)
commit9e9e6ae177332f5c1311eff9c9b5ca9740e04dbd
tree6f596a98ec7cb2fc67614bf805f3b4859b67f609
parentb5c00c6d41ff4eb809f7deda38fe61ccaacb7cbf
Add API git_signature_new_now

Most tags will have a timestamp of whenever the code is running and
dealing with time and timezones is error-prone. Optimize for this case
by adding a function which causes the signature to be created with a
current timestamp.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
include/git2/signature.h
src/signature.c