]> git.proxmox.com Git - libgit2.git/commit - src/signature.c
signature: don't allow empty emails
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 10 Sep 2014 16:13:34 +0000 (18:13 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 10 Sep 2014 16:14:46 +0000 (18:14 +0200)
commit76e3c43fb99eb75cf33affb1a93260af4d472da5
treefcb4c2fa8629c5715dfe5f46a5723418909c05fa
parent31e752b6546537bbeee89b6d2f3027cf0eff9a53
signature: don't allow empty emails

A signature is made up of a non-empty name and a non-empty email so
let's validate that. This also brings us more in line with git, which
also rejects ident with an empty email.
src/signature.c
tests/commit/signature.c