Home Home > GIT Browse > scripts
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2019-10-18 11:37:58 +0200
committerJean Delvare <jdelvare@suse.de>2019-10-18 11:37:58 +0200
commit19cc66413dca818472f245e85a78cbd3f9219532 (patch)
tree8ce2ef6b00ac346c6b5f202cf6342d6206f8a26c
parent99afd50a1b9d7c82dd91903fe11e4bf2cec177e7 (diff)
scripts/install-git-hooks: Fix spelling of git option --remove-sectionscripts
-rwxr-xr-xscripts/install-git-hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-git-hooks b/scripts/install-git-hooks
index 69bebc942f..5c261fa71f 100755
--- a/scripts/install-git-hooks
+++ b/scripts/install-git-hooks
@@ -101,10 +101,10 @@ clean_config()
! git config --local --get-all "include.path" | \
grep -q "../extra-gitconfig"; then
if git config --local --get "merge.rpm-changes.name" >/dev/null; then
- git config --local --remove_section "merge.rpm-changes"
+ git config --local --remove-section "merge.rpm-changes"
fi
if git config --local --get "diff.symsets.textconv" >/dev/null; then
- git config --local --remove_section "diff.symsets"
+ git config --local --remove-section "diff.symsets"
fi
git config --add "include.path" "../extra-gitconfig"
fi