Skip to content

Conversation

superewald
Copy link
Contributor

Running gitlab-ci-local for a different worktree (eg gitlab-ci-local --cwd=../project-b) would throw an error because the changedFiles function executes the git diff subprocess in the current cwd.

This commit fixes it by passing the correct cwd to the subprocess.

@superewald superewald marked this pull request as draft June 30, 2025 15:11
@superewald superewald marked this pull request as ready for review June 30, 2025 16:16
@firecow firecow merged commit 285cfe6 into firecow:master Jul 28, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants