Update patch for patch-git.lua
This commit is contained in:
parent
514a503d8c
commit
691658f579
@ -12,14 +12,14 @@ actions:
|
||||
find: |
|
||||
local have_git = (posix == nil -- Not running under rpm.
|
||||
or (posix.access('/usr/bin/git', 'x')
|
||||
and posix.access(sourcedir .. '/.git/.', 'x')))
|
||||
and posix.access(sourcedir .. '/.git', 'r')))
|
||||
local commit_marker_contents -- For git_commit_file.
|
||||
if have_git then
|
||||
commit_marker_contents =
|
||||
replace: |
|
||||
local have_git = (posix == nil -- Not running under rpm.
|
||||
or (posix.access('/usr/bin/git', 'x')
|
||||
and posix.access(sourcedir .. '/.git/.', 'x')))
|
||||
and posix.access(sourcedir .. '/.git', 'r')))
|
||||
local commit_marker_contents -- For git_commit_file.
|
||||
-- If the branch/tag is AlmaLinux, then we need to get history of Upstream
|
||||
-- branch/tag, and skip all AlmaLinux-specific commits. To avoid duplicates
|
||||
|
||||
Loading…
Reference in New Issue
Block a user