From c5d482e0d28d51eaa5fababdf85771dba113c380 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 13 Nov 2024 21:17:31 +0300 Subject: [PATCH] chore: suppress `git config` output --- contrib/containers/guix/scripts/guix-start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/containers/guix/scripts/guix-start b/contrib/containers/guix/scripts/guix-start index 2d71193052..415043f820 100755 --- a/contrib/containers/guix/scripts/guix-start +++ b/contrib/containers/guix/scripts/guix-start @@ -26,7 +26,7 @@ fi # Add safe.directory option only when WORKSPACE_PATH was specified via cmd-line arguments (happens in CI) if [[ -n "${1}" ]]; then # Avoid adding duplicates - git config --global --fixed-value --get safe.directory "${WORKSPACE_PATH}" || \ + git config --global --fixed-value --get safe.directory "${WORKSPACE_PATH}" >> /dev/null || \ (echo "Adding safe.directory" && git config --global --add safe.directory "${WORKSPACE_PATH}") fi