Skip to content
  • Jeff King's avatar
    t: move "git add submodule" into test blocks · 17f2f88c
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Some submodule tests do some setup outside of a test_expect
    block. This is bad because we won't actually check the
    outcome of those commands. But it's doubly so because "git
    add submodule" now produces a warning to stderr, which is
    not suppressed by the test scripts in non-verbose mode.
    
    This patch does the minimal to fix the annoying warnings.
    All three of these scripts could use more cleanup of related
    setup.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    17f2f88c