mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
chore: suppress git config
output
This commit is contained in:
parent
8ce9bfea59
commit
c5d482e0d2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user