From 032305b72624d4da069c348e5f7abe7725723cd2 Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Fri, 7 Jun 2024 05:19:35 +0000 Subject: [PATCH] Enhancement (generate): Revise function `Get-RepositoryCommitHistory` to return the default object of git log items --- .../Private/Get-RepositoryCommitHistory.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PSRepositoryReleaseManager/Private/Get-RepositoryCommitHistory.ps1 b/src/PSRepositoryReleaseManager/Private/Get-RepositoryCommitHistory.ps1 index 96e2a59..a737476 100644 --- a/src/PSRepositoryReleaseManager/Private/Get-RepositoryCommitHistory.ps1 +++ b/src/PSRepositoryReleaseManager/Private/Get-RepositoryCommitHistory.ps1 @@ -52,7 +52,7 @@ function Get-RepositoryCommitHistory { if ($Merges) { '--merges' } elseif ($NoMerges) { '--no-merges' } ) - $_commitHistory = git $gitArgs | Out-String + $_commitHistory = git $gitArgs "Changelog:" | Write-Verbose $_commitHistory | Write-Verbose $_commitHistory