Commit 5252136
Address review feedback about config section casing
Review feedback: Git accepts core section names case-insensitively, while GitConfigParser preserves section casing and the hook lookup only inspected a literal core section.
Aggregate options from every section whose name case-folds to core before selecting the effective hooksPath value. Extend the regression configuration to use mixed casing for both the section and option names.1 parent fafbdc8 commit 5252136
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
1209 | | - | |
| 1209 | + | |
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
| |||
0 commit comments