tests/histedit-helpers.sh
author Simon Heimberg <simohe@besonet.ch>
Wed, 13 Feb 2013 21:58:52 +0100
changeset 18680 15711d9d8b2c
parent 17085 35729bdd59b6
child 27350 890273343170
permissions -rw-r--r--
tests: quickly check if the glob line already matches the output This happens when a path with "/" as only glob char is matched on a non windows platform. (Currently one third of all glob matches.) The slowdown on windows and the speedup on other os are neglectable.

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"
}