Skip to content
  • Christian Couder's avatar
    trailer: ignore first line of message · dc5d553b
    Christian Couder authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    When looking for the start of the trailers in the message
    we are passed, we should ignore the first line of the message.
    
    The reason is that if we are passed a patch or commit message
    then the first line should be the patch title.
    If we are passed only trailers we can expect that they start
    with an empty line that can be ignored too.
    
    This way we can properly process commit messages that have
    only one line with something that looks like a trailer, for
    example like "area of code: change we made".
    
    Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    dc5d553b