Skip to content
  • Jeff King's avatar
    Compact commit template message · fdc7c811
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    We recently let the user know explicitly that an empty
    commit message will abort the commit. However, this adds yet
    another line to the template; let's rephrase and re-wrap so
    that this fits back on two lines.
    
    This patch also makes the "fatal: empty commit message?"
    warning a bit less scary, since this is now a "feature"
    instead of an error. However, we retain the non-zero exit
    status to indicate to callers that nothing was committed.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    fdc7c811