Skip to content

Commit

Permalink
chore: suppress git config output
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Nov 13, 2024
1 parent 8ce9bfe commit c5d482e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/containers/guix/scripts/guix-start
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c5d482e

Please sign in to comment.