@@ -27,16 +27,16 @@ This edition covers what happened during the months of April and May 2025.
27
27
* [[ PATCH
] git: add --no-hooks global option
] ( https://lore.kernel.org/git/[email protected] / )
28
28
29
29
Derrick Stolee, who prefers to be called just Stolee, sent a patch
30
- to the mailing list that added a new ` --no-hooks ` global option, and
31
- an equivalent ` GIT_HOOKS ` environment variable, to Git. The goal was
30
+ to the mailing list that added a new ` --no-hooks ` global option and
31
+ an equivalent ` GIT_HOOKS ` environment variable to Git. The goal was
32
32
to allow users to disable all Git hooks during command execution.
33
33
34
34
This could be useful for expert users who would want to bypass
35
35
pre-commit hooks when they have poor performance or perform useless
36
36
checks.
37
37
38
38
Switching between enabled and disabled hooks and other workarounds,
39
- like setting ` core.hooksPath ` to a "bogus path" did not look
39
+ like setting ` core.hooksPath ` to a "bogus path", did not look
40
40
convenient and very safe.
41
41
42
42
brian m. carlson, who spell their name using only lowercase letters,
@@ -70,16 +70,16 @@ This edition covers what happened during the months of April and May 2025.
70
70
71
71
Junio Hamano, the Git maintainer, then replied to Phillip thanking
72
72
him for pushing back on the idea, and saying that there should be a
73
- "compelling reason" to justify applying a change.
73
+ "compelling reason" to justify a change.
74
74
75
75
Also instead of implementing options to disable hooks or
76
76
configuration in some user facing "porcelain" commands, Junio
77
77
advocated for cleaning up and refactoring these commands into new
78
78
stable "plumbing" commands designed to be easily used in scripts.
79
79
80
- Lucas Seiki Oshiro in the meantime replied to Phillip. Lucas had
80
+ In the meantime, Lucas Seiki Oshiro replied to Phillip. Lucas had
81
81
noticed that using ` /dev/null ` to disable hooks wasn't mentioned in
82
- the documentation of ` core.hooksPath ` even though it was tested in a
82
+ the documentation of ` core.hooksPath ` , even though it was tested in a
83
83
test script. He asked if Stolee's patch should therefore be turned
84
84
into a documentation patch.
85
85
@@ -101,8 +101,8 @@ This edition covers what happened during the months of April and May 2025.
101
101
would only document that setting ` core.hooksPath ` to ` /dev/null ` was
102
102
the supported mechanism to disable hooks.
103
103
104
- In
[ the version 2 of his patch
] ( https://lore.kernel.org/git/[email protected] / )
105
- indeed Stolee only updated the documentation of the ` core.hooksPath `
104
+ In
[ the version 2 of his patch
] ( https://lore.kernel.org/git/[email protected] / ) ,
105
+ Stolee just updated the documentation of the ` core.hooksPath `
106
106
configuration option, adding the following small paragraph:
107
107
108
108
> You can also disable all hooks entirely by setting ` core.hooksPath `
0 commit comments