Skip to content

Commit c5d482e

Browse files
committed
chore: suppress git config output
1 parent 8ce9bfe commit c5d482e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/containers/guix/scripts/guix-start

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626
# Add safe.directory option only when WORKSPACE_PATH was specified via cmd-line arguments (happens in CI)
2727
if [[ -n "${1}" ]]; then
2828
# Avoid adding duplicates
29-
git config --global --fixed-value --get safe.directory "${WORKSPACE_PATH}" || \
29+
git config --global --fixed-value --get safe.directory "${WORKSPACE_PATH}" >> /dev/null || \
3030
(echo "Adding safe.directory" && git config --global --add safe.directory "${WORKSPACE_PATH}")
3131
fi
3232

0 commit comments

Comments
 (0)