tests/histedit-helpers.sh
author Laurent Charignon <lcharignon@fb.com>
Tue, 05 Jan 2016 07:47:08 -0800
changeset 27671 067d87feeb11
parent 27350 890273343170
permissions -rw-r--r--
debugignore: find out if a file is being ignored Before this patch debugignore was just displaying the list of ignore patterns. This patch makes it support a list of filename as argument and tells the user if those given files are ignored or not.

fixbundle() {
    grep -v 'saving bundle' | grep -v 'saved backup' | \
        grep -v added | grep -v adding | \
        grep -v "unable to find 'e' for patching" | \
        grep -v "e: No such file or directory" | \
    cat
}