Switch off git-config messages

This commit is contained in:
Martin Blazik
2022-02-09 06:57:57 +01:00
parent e06ba0d796
commit 75fa80be62

View File

@@ -5,6 +5,7 @@ set -u
ORIGIN=origin
UPSTREAM=$ORIGIN
MASTER=$UPSTREAM/master
DEBUG=${DEBUG:- 0}
if [[ $# -gt 0 && "$1" == "-dry" ]]; then
DRY=true
@@ -12,8 +13,14 @@ else
DRY=false
fi
function log() {
if (( $DEBUG )); then
echo "$*"
fi
}
function run() {
echo "$*"
log "$*"
if [[ $DRY != "true" ]]; then
"$@"
fi
@@ -161,6 +168,6 @@ git_alias configs "config --list"
#fi
if can_run delta; then
echo "Activate delta"
log "Activate delta"
activate_delta
fi