Re: BUG: `git commit` adding unstaged chunks of files to commits on 2.33.0
- From
Andrew Thorp <andrew.thorp.dev@gmail.com>
- Date
- Aug 31, 2021, 19:45 UTC
- Message-ID
- <CAHBARKcDBVbJ5fROe+CCrN5pDS057qJb91PMdN+28DUbPOSp0Q@mail.gmail.com>
- In-Reply-To
- <xmqqczptto00.fsf@gitster.g>
Ah, you're right. I have a pre-commit hook which does some formatting and then re-adds the files. Doing so adds the unstaged chunks silently.
Thanks for taking a look Junio. I'll try to reproduce on a clean repo next time.
Cheers,
Andrew Thorp