tests/histedit-helpers.sh
author Yuya Nishihara <yuya@tcha.org>
Wed, 29 Mar 2017 21:13:55 +0900
changeset 31774 7d2cbe11ae48
parent 27350 890273343170
permissions -rw-r--r--
pycompat: introduce identity function as a compat stub I was sometimes too lazy to use 'str' instead of 'lambda a: a'. Let's add a named function for that purpose.

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
}