Hello! Thess remove test -f from t3501 and test command. It uses test_cmp to hide exit code of git. Can I get help with "git reflog -1 | grep revert"? About which helper function I can use to hide the exit code. Thank you. Labnann (3): t3501: use test_path_is_* functions t3501: don't ignore "git <cmd>" exit code t3501: test cherry-pick revert with oids t/t3501-revert-cherry-pick.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) Range-diff against v1: 1: 8b7d38a66f = 1: 8b7d38a66f t3501: use test_path_is_* functions -: ---------- > 2: 04b0bf1c5d t3501: don't ignore "git <cmd>" exit code -: ---------- > 3: 36445b40fb t3501: test cherry-pick revert with oids -- 2.35.1