This repository was archived by the owner on Jan 14, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
lua/codecompanion/_extensions/gitcommit/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change 442442--- @param to_tag string Ending tag
443443--- @return string command
444444function CommandBuilder .release_notes_log (from_tag , to_tag )
445- local range = from_tag .. " ^ .." .. to_tag
445+ local range = from_tag .. " .." .. to_tag
446446 local escaped_range = vim .fn .shellescape (range )
447447 local format_str = shell_quote (" %h\x01 %s\x01 %an\x01 %ad" )
448448 return " git log --pretty=format:" .. format_str .. " --date=short " .. escaped_range
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ windows_default_inline_shell_args = "pwsh -NoProfile -Command"
1414description = " Install test dependencies (mini.nvim)"
1515run = """
1616mkdir -p deps
17- test -d deps/mini.nvim || git clone --depth 1 https://github.com/echasnovski/mini.nvim deps/mini.nvim
17+ test -d deps/mini.nvim/.git || (rm -rf deps/mini.nvim && git clone --depth 1 https://github.com/echasnovski/mini.nvim deps/mini.nvim)
1818"""
1919run_windows = """
2020if (-not (Test-Path deps)) { New-Item -ItemType Directory -Path deps | Out-Null }
21- if (-not (Test-Path deps/mini.nvim)) { git clone --depth 1 https://github.com/echasnovski/mini.nvim deps/mini.nvim }
21+ if (-not (Test-Path deps/mini.nvim/.git )) { Remove-Item -Recurse -Force deps/mini.nvim -ErrorAction SilentlyContinue; git clone --depth 1 https://github.com/echasnovski/mini.nvim deps/mini.nvim }
2222"""
2323
2424[tasks .test ]
You can’t perform that action at this time.
0 commit comments