mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
logs: remove git diff from GIT_INFO_ANSI, it's somewhat useless and potentially huge leading to argument list too long
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user