We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df8c72c commit 397c430Copy full SHA for 397c430
packages/backend/src/git.ts
@@ -78,6 +78,10 @@ export const fetchRepository = async (
78
"--prune",
79
"--progress"
80
]);
81
+
82
+ if (authHeader) {
83
+ await git.raw(["config", "--unset", "http.extraHeader", authHeader]);
84
+ }
85
} catch (error: unknown) {
86
const baseLog = `Failed to fetch repository: ${path}`;
87
if (env.SOURCEBOT_LOG_LEVEL !== "debug") {
0 commit comments