This commit is contained in:
Josh Soref 2026-01-09 15:34:54 -05:00 committed by GitHub
commit 67702be836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

6
dist/index.js vendored
View file

@ -898,7 +898,11 @@ class GitCommandManager {
} }
init() { init() {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
yield this.execGit(['init', this.workingDirectory]); yield this.execGit([
'init',
'--initial-branch=placeholder',
this.workingDirectory
]);
}); });
} }
isDetached() { isDetached() {

View file

@ -365,7 +365,11 @@ class GitCommandManager {
} }
async init(): Promise<void> { async init(): Promise<void> {
await this.execGit(['init', this.workingDirectory]) await this.execGit([
'init',
'--initial-branch=placeholder',
this.workingDirectory
])
} }
async isDetached(): Promise<boolean> { async isDetached(): Promise<boolean> {