Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/git-command-manager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/git-command-manager.ts')
-rw-r--r--src/git-command-manager.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts
index d150d0f..afcb285 100644
--- a/src/git-command-manager.ts
+++ b/src/git-command-manager.ts
@@ -91,6 +91,7 @@ class GitCommandManager {
async branchList(remote: boolean): Promise<string[]> {
const result: string[] = []
+ const stderr: string[] = []
// Note, this implementation uses "rev-parse --symbolic-full-name" because the output from
// "branch --list" is more difficult when in a detached HEAD state.
@@ -106,7 +107,7 @@ class GitCommandManager {
const listeners = {
stderr: (data: Buffer) => {
- core.debug(data.toString())
+ stderr.push(data.toString())
}
}
const output = await this.execGit(args, false, false, listeners)
@@ -123,7 +124,7 @@ class GitCommandManager {
result.push(branch)
}
}
-
+ core.debug(stderr.join('\n'))
return result
}