From 674f0edc204cf3cd418ee8045fb9f9a2cf55db78 Mon Sep 17 00:00:00 2001 From: Daniyal Arshad Date: Thu, 10 Jul 2025 15:15:58 -0400 Subject: [PATCH] Add git clone output to stdout instead of stderr EE: true --- .../create/internal_poststart_command_clone_project.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/lib/remote_development/workspace_operations/create/internal_poststart_command_clone_project.sh b/ee/lib/remote_development/workspace_operations/create/internal_poststart_command_clone_project.sh index 6480bc1ac63cea..48503350236a70 100644 --- a/ee/lib/remote_development/workspace_operations/create/internal_poststart_command_clone_project.sh +++ b/ee/lib/remote_development/workspace_operations/create/internal_poststart_command_clone_project.sh @@ -25,7 +25,7 @@ clone_depth_option="%s" depth_msg="${clone_depth_option:+ with \"${clone_depth_option}\" option}" echo "$(date -Iseconds): Cloning project${depth_msg}" -git clone $clone_depth_option --branch "%s" "%s" "%s" +git clone $clone_depth_option --branch "%s" "%s" "%s" 2>&1 | sed "s/^/$(date -Iseconds): /" exit_code=$? # Once cloning is successful, create the file which is used in the check above. -- GitLab