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
This commit is contained in:
parent
cf728b3d9f
commit
6894c74dd1
@ -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').
|
||||
|
||||
Loading…
Reference in New Issue
Block a user