From 6894c74dd11a640d135be9c96de287a09bd92b86 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 23 Sep 2025 10:17:09 +0200 Subject: [PATCH] patch-git: The emit_patchlist function should be local Found by looking at: luac -l -l patch-git.lua | grep -o '_ENV.*' | sort -u RPM-Changelog: - RPM-Skip-Release: yes Related: RHEL-111490 --- patch-git.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch-git.lua b/patch-git.lua index edb2cd7..6223f6d 100644 --- a/patch-git.lua +++ b/patch-git.lua @@ -660,7 +660,7 @@ function patchgit.patches(options) -- Perform version sort on the table and emit the patch names in -- that order. - function emit_patchlist(patchlist) + local function emit_patchlist(patchlist) -- Within one commit, patches are sorted lexicographically. -- Remove the '.patch' suffix, so that it does not interfere -- with sorting ('patch2b.patch' sorting before 'patch2.patch').