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 bed82ff commit a6030b0Copy full SHA for a6030b0
1 file changed
scripts/verify/configure-git.sh
@@ -7,6 +7,23 @@ ssh_entrypoint="$repo_root/chezmoi/private_dot_ssh/private_config"
7
tmp_root="$(mktemp -d)"
8
trap 'rm -rf "$tmp_root"' EXIT
9
10
+unset \
11
+ GIT_ALTERNATE_OBJECT_DIRECTORIES \
12
+ GIT_CONFIG \
13
+ GIT_CONFIG_PARAMETERS \
14
+ GIT_CONFIG_COUNT \
15
+ GIT_OBJECT_DIRECTORY \
16
+ GIT_DIR \
17
+ GIT_WORK_TREE \
18
+ GIT_IMPLICIT_WORK_TREE \
19
+ GIT_GRAFT_FILE \
20
+ GIT_INDEX_FILE \
21
+ GIT_NO_REPLACE_OBJECTS \
22
+ GIT_REPLACE_REF_BASE \
23
+ GIT_PREFIX \
24
+ GIT_SHALLOW_FILE \
25
+ GIT_COMMON_DIR
26
+
27
fail() {
28
printf 'FAILED: %s\n' "$1" >&2
29
exit 1
0 commit comments