summaryrefslogtreecommitdiff
path: root/builtin/show-branch.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-05-24 19:32:37 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-24 20:50:05 -0700
commit8c5b1ae1b26a7512eb29e75391b8b24c0d0439e7 (patch)
tree2fc42fae466db557ad30b66045b824b8f0b6c758 /builtin/show-branch.c
parentident: rename IDENT_ERROR_ON_NO_NAME to IDENT_STRICT (diff)
downloadtgif-8c5b1ae1b26a7512eb29e75391b8b24c0d0439e7.tar.xz
ident: reject bogus email addresses with IDENT_STRICT
If we come up with a hostname like "foo.(none)" because the user's machine is not fully qualified, we should reject this in strict mode (e.g., when we are making a commit object), just as we reject an empty gecos username. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/show-branch.c')
0 files changed, 0 insertions, 0 deletions