From a54e3ad114b09bff5173b9eea62394460b3ee414 Mon Sep 17 00:00:00 2001 From: Reza Gharibi Date: Sun, 16 Nov 2025 03:50:43 +0330 Subject: [PATCH] Fix git command for detecting changed files in multi-parent merge commits --- framework/bin/bugsinpy-checkout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/bin/bugsinpy-checkout b/framework/bin/bugsinpy-checkout index 42892b47..4760de52 100755 --- a/framework/bin/bugsinpy-checkout +++ b/framework/bin/bugsinpy-checkout @@ -142,7 +142,7 @@ cd "$work_dir/$project_name" git reset --hard "$fix_commit" ###Copy updated files in the fixed version to temp -check_file=$(git show --name-only 2>&1) +check_file=$(git show --name-only --first-parent 2>&1) change_file_all="" while IFS= read -r line; do if [ "$line" != "" ]; then