File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 16
16
fi
17
17
18
18
# 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)
20
20
21
21
# Redirect output to stderr.
22
22
exec 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
43
43
fi
44
44
45
45
# --- 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)
51
51
52
52
# check for no description
53
53
projectdesc=$( sed -e ' 1q' " $GIT_DIR /description" )
You can’t perform that action at this time.
0 commit comments