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-source-provider.ts
diff options
context:
space:
mode:
authorThomas Boop <52323235+thboop@users.noreply.github.com>2020-09-23 09:41:47 -0400
committerGitHub <noreply@github.com>2020-09-23 09:41:47 -0400
commit6943eced8faa00b363a577a3e573551e2255efac (patch)
tree4b1d350c4cd428896ead4534cb625044b9e89d0d /src/git-source-provider.ts
parent0e68cab139db160d6e9937a23b4cbb50fa4b3627 (diff)
Remove unneeded commit information from build logs (#345)v2.3.3
* Remove unneeded commit information from stdout
Diffstat (limited to 'src/git-source-provider.ts')
-rw-r--r--src/git-source-provider.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts
index 366ff33..42a12e0 100644
--- a/src/git-source-provider.ts
+++ b/src/git-source-provider.ts
@@ -201,9 +201,12 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
}
}
- // Dump some info about the checked out commit
+ // Get commit information
const commitInfo = await git.log1()
+ // Log commit sha
+ await git.log1("--format='%H'")
+
// Check for incorrect pull request merge commit
await refHelper.checkCommitInfo(
settings.authToken,