Skip to content
  • Jeff King's avatar
    t0050: appease --chain-lint · bfe998fc
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Some of the symlink tests check an either-or case using the
    "||". This is not wrong, but fools --chain-lint into
    thinking the &&-chain is broken (in fact, there is no &&
    chain here).
    
    We can solve this by wrapping the "||" inside a {} block.
    This is a bit more verbose, but this construct is rare, and
    the {} block helps call attention to it.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    bfe998fc