File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1616fi
1717
1818# If you want to allow non-ASCII filenames set this variable to true.
19- allownonascii=$( git config --bool hooks.allownonascii)
19+ allownonascii=$( git config --type= bool hooks.allownonascii)
2020
2121# Redirect output to stderr.
2222exec 1>&2
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
4343fi
4444
4545# --- Config
46- allowunannotated=$( git config --bool hooks.allowunannotated)
47- allowdeletebranch=$( git config --bool hooks.allowdeletebranch)
48- denycreatebranch=$( git config --bool hooks.denycreatebranch)
49- allowdeletetag=$( git config --bool hooks.allowdeletetag)
50- allowmodifytag=$( git config --bool hooks.allowmodifytag)
46+ allowunannotated=$( git config --type= bool hooks.allowunannotated)
47+ allowdeletebranch=$( git config --type= bool hooks.allowdeletebranch)
48+ denycreatebranch=$( git config --type= bool hooks.denycreatebranch)
49+ allowdeletetag=$( git config --type= bool hooks.allowdeletetag)
50+ allowmodifytag=$( git config --type= bool hooks.allowmodifytag)
5151
5252# check for no description
5353projectdesc=$( sed -e ' 1q' " $GIT_DIR /description" )
You can’t perform that action at this time.
0 commit comments