From 9b9111ed0b84e3260987af58f33209e6e835f7bd Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Mon, 21 Apr 2025 01:46:10 +0200 Subject: [PATCH] ignore global core.attributesFile --- transcrypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcrypt b/transcrypt index 3d45faa..c8e841f 100755 --- a/transcrypt +++ b/transcrypt @@ -109,7 +109,7 @@ gather_repo_metadata() { # the current git repository's gitattributes file local CORE_ATTRIBUTES - CORE_ATTRIBUTES=$(git config --get --local --path core.attributesFile 2>/dev/null || git config --get --path core.attributesFile 2>/dev/null || printf '') + CORE_ATTRIBUTES=$(git config --get --local --path core.attributesFile 2>/dev/null || printf '') if [[ $CORE_ATTRIBUTES ]]; then readonly GIT_ATTRIBUTES=$CORE_ATTRIBUTES elif [[ $IS_BARE == 'true' ]] || [[ $IS_VCSH == 'true' ]]; then