Skip to content
  • Eric Blake's avatar
    ac5de498
    tests: Simplify .gitignore · ac5de498
    Eric Blake authored
    
    
    Commit 0bcc8e5b was yet another instance of 'git status' reporting
    dirty files after an in-tree build, thanks to the new binary
    tests/check-block-qdict.
    
    Instead of piecemeal exemptions of each new binary as they are
    added, let's use git's negative globbing feature to exempt ALL
    files that have a 'test-' or 'check-' prefix, except for the ones
    ending in '.c' or '.sh'.  We still have a couple of generated
    files that then need (re-)exclusion, but the overall list is a
    LOT shorter, and less prone to needing future edits.
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <20180619203918.65450-1-eblake@redhat.com>
    Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    ac5de498
    tests: Simplify .gitignore
    Eric Blake authored
    
    
    Commit 0bcc8e5b was yet another instance of 'git status' reporting
    dirty files after an in-tree build, thanks to the new binary
    tests/check-block-qdict.
    
    Instead of piecemeal exemptions of each new binary as they are
    added, let's use git's negative globbing feature to exempt ALL
    files that have a 'test-' or 'check-' prefix, except for the ones
    ending in '.c' or '.sh'.  We still have a couple of generated
    files that then need (re-)exclusion, but the overall list is a
    LOT shorter, and less prone to needing future edits.
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <20180619203918.65450-1-eblake@redhat.com>
    Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Loading