Skip to content

Conversation

suzuki-shunsuke
Copy link
Owner

@suzuki-shunsuke suzuki-shunsuke commented Dec 22, 2024

Reproduced the bug.

I've confirmed the bug would be solved by this pr.

@suzuki-shunsuke suzuki-shunsuke added the bug Something isn't working label Dec 22, 2024
@suzuki-shunsuke suzuki-shunsuke added this to the v1.2.1 milestone Dec 22, 2024
Comment on lines 30441 to 30443
const out = yield exec.getExecOutput('git', [
'diff', '--name-only',
].concat([...files]), {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If files is empty, git diff --name-only lists all changed files in the repository, which unrelated files can be commited.

@suzuki-shunsuke suzuki-shunsuke merged commit a9d1f33 into main Dec 22, 2024
1 check passed
@suzuki-shunsuke suzuki-shunsuke deleted the fix-commit-only-wd branch December 22, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant