tests/histedit-helpers.sh
author Jun Wu <quark@fb.com>
Sun, 10 Apr 2016 22:58:11 +0100
changeset 28853 d11548b4ae45
parent 27350 890273343170
permissions -rw-r--r--
chg: check lockfd at freecmdserveropts We check for sockdirfd at freecmdserveropts but not lockfd, which is a bit strange to people new to the code. Add a comment and an assert to make it clear that lockfd should be closed earlier.

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
}