mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
Merge pull request #16019 from dundargoc/ci/commitlint/downgrade-necessary-git-version
ci: allow older git versions when using lintcommit
This commit is contained in:
commit
88e16a7f30
@ -106,7 +106,7 @@ end
|
||||
function M.main(opt)
|
||||
_trace = not opt or not not opt.trace
|
||||
|
||||
local branch = run({'git', 'branch', '--show-current'}, true)
|
||||
local branch = run({'git', 'rev-parse', '--abbrev-ref', 'HEAD'}, true)
|
||||
-- TODO(justinmk): check $GITHUB_REF
|
||||
local ancestor = run({'git', 'merge-base', 'origin/master', branch})
|
||||
if not ancestor then
|
||||
|
Loading…
Reference in New Issue
Block a user