tests/histedit-helpers.sh
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 07 Jul 2017 00:12:44 -0700
changeset 33326 67b42e64194d
parent 27350 890273343170
permissions -rw-r--r--
tests: add tests for typoed commands This includes one test showing how disabling a command with e.g. "extensions.rebase=!" results in the command not being suggested. We'll fix that next.

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
}