Skip to content
  • Jeff King's avatar
    line-log: detect unsupported formats · 05314efa
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    If you use "log -L" with an output format like "--raw" or "--stat",
    we'll silently ignore the format and just output the normal patch.
    Let's detect and complain about this, which at least tells the user
    what's going on.
    
    The tests here aren't exhaustive over the set of all formats, but it
    should at least let us know if somebody breaks the format-checking.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    05314efa