sig: allow empty names Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
diff --git a/src/signature.c b/src/signature.c
index 2da595b..78cb786 100644
--- a/src/signature.c
+++ b/src/signature.c
@@ -179,8 +179,6 @@ int git_signature__parse(git_signature *sig, const char **buffer_out,
return git__throw(GIT_EOBJCORRUPTED, "Failed to parse signature. Can't find e-mail start");
name_length = name_end - buffer;
- if (name_length <= 0)
- return git__throw(GIT_EOBJCORRUPTED, "Failed to parse signature. Missing tagger name");
sig->name = git__malloc(name_length + 1);
if (sig->name == NULL)