We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c438a2 commit 6aa3c54Copy full SHA for 6aa3c54
1 file changed
hooks/_common.sh
@@ -117,8 +117,9 @@ function common::parse_cmdline {
117
}
118
119
#######################################################################
120
-# Scrub GIT_* vars that leak the parent repo location into child Git
121
-# processes (see https://git-scm.com/docs/git#_environment_variables).
+# Scrub GIT_* vars inherited from a linked Git worktree that would
+# leak the parent repo location into child Git processes
122
+# (see https://git-scm.com/docs/git#_environment_variables).
123
#
124
# pre-commit scrubs GIT_* only for its own internal Git calls, not for
125
# hook subprocesses - hook authors must handle it themselves:
0 commit comments