tests/histedit-helpers.sh
author Yuya Nishihara <yuya@tcha.org>
Sat, 04 Nov 2017 23:48:19 +0900
branchstable
changeset 35023 5f40efa472db
parent 27350 890273343170
permissions -rw-r--r--
amend: do not drop missing files (issue5732) samefile() can be wrong since wctx.manifest() does not include missing files, whereas missing files should be preserved on commit.

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
}