From 25606ef3c8bc7df8d172419093e8065612d805f2 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 23 Feb 2023 17:46:25 -0300 Subject: [PATCH] logs: remove `git diff` from `GIT_INFO_ANSI`, it's somewhat useless and potentially huge leading to `argument list too long` --- lib/functions/logging/export-logs.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/functions/logging/export-logs.sh b/lib/functions/logging/export-logs.sh index aa9a81f613..385750d74c 100644 --- a/lib/functions/logging/export-logs.sh +++ b/lib/functions/logging/export-logs.sh @@ -9,9 +9,6 @@ function prepare_ansi_git_info_log_header() { $(echo -e -n "${bright_blue_color:-}")# GIT status$(echo -e -n "${ansi_reset_color:-}") $(LC_ALL=C LANG=C git -c color.status=always --work-tree="${SRC}" --git-dir="${SRC}/.git" status | sed -e "${prefix_sed_cmd}" || true) ${dim_line_separator} - $(echo -e -n "${bright_blue_color:-}")# GIT changes$(echo -e -n "${ansi_reset_color:-}") - $(LC_ALL=C LANG=C git --work-tree="${SRC}" --git-dir="${SRC}/.git" diff -u --color | sed -e "${prefix_sed_cmd}" || true) - ${dim_line_separator} GIT_ANSI_HEADER }