From 7da8fd8c51dab268299ddbadcf50818b3f6b59b0 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 27 Jan 2026 13:44:40 +0100 Subject: [PATCH] patch-git: Add --no-decorate to git log invocation (RHEL-141925) Sync patch-git git log invocation with konflux-ci/rpmbuild-pipeline-environment-container, specifically this commit: commit 5753986ec0689bd83d8fd40f179186a1aa99ed9a Author: Pavel Raiskup Date: Fri Dec 19 15:25:01 2025 +0100 Add patch-git support Follow the instructions in https://github.com/konflux-ci/rpmbuild-pipeline/issues/112 Resolves: RHEL-141925 RPM-Changelog: - RPM-Skip-Release: yes --- patch-git.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch-git.lua b/patch-git.lua index 2ae7888..a362dd3 100644 --- a/patch-git.lua +++ b/patch-git.lua @@ -535,8 +535,8 @@ local function generate_files() -- patch depth sorting below). To include committer dates, use -- --pretty=fuller. check_git( - 'log --first-parent --no-renames --raw --pretty=fuller --date=default > ' - .. git_log_file) + 'log --first-parent --no-decorate --no-renames --raw --pretty=fuller' + .. ' --date=default > ' .. git_log_file) -- Atomically replace the contents of git_commit_file, confirming that -- the new Git log has been written.