From: Labnann Date: Sat, 02 Apr 2022 19:24:14 GMT Subject: [PATCH v3 0/1][GSoC] t3501: remove redundant file checking and stop ignoring git exit code Message-ID: <20220402192415.19023-1-khalid.masum.92@gmail.com> In-Reply-To: <20220331191525.17927-1-khalid.masum.92@gmail.com> From: Labnan T3501 contains two test cases where we used to check if a file exists using test -f which is not necessary because we already have grep after it. Also the use of git rev-parse can be hidden using test_cmp_rev. This patch tries to resolve these two issues in T3501. Sorry for the extra email that was not sent to the right place. I am still struggling to work with the mailing list. Labnann (1): t3501: remove redundant file check and stop ignoring git exit code t/t3501-revert-cherry-pick.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) Range-diff against v2: 1: 8b7d38a66f < -: ---------- t3501: use test_path_is_* functions 2: 04b0bf1c5d < -: ---------- t3501: don't ignore "git " exit code 3: 36445b40fb < -: ---------- t3501: test cherry-pick revert with oids -: ---------- > 1: aeb28e3249 t3501: remove redundant file check and stop ignoring git exit code -- 2.35.1.windows.2