You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there are locally changed files, but the changes are not added to the Git Staging Area then the following is shown (locally changed file g-4210.md):
Warning: Bypassing formatter due to partial commit.
This happens when staging some hunks/lines instead of a complete file.
On branch delete-after-test
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: g-4210.md
no changes added to commit (use "git add" and/or "git commit -a")
The pre-commit hook should detect an empty staging area and not assuming that only a partial change was made.
When there are locally changed files, but the changes are not added to the Git Staging Area then the following is shown (locally changed file
g-4210.md
):The pre-commit hook should detect an empty staging area and not assuming that only a partial change was made.
Thanks @kibeha for reporting this issue.
The text was updated successfully, but these errors were encountered: