Re: [PATCH v2 2/2] blame: ignore revs in HEAD:.git-blame-ignore-revs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 12, 2026, 16:38 UTC
- Message-ID
- <xmqqbj8yan77.fsf@gitster.g>
- In-Reply-To
- <5fcd107d-b620-44d1-91b7-e5f9965171cc@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
> I've left a couple of comments on v3. Ignoring uncommitted changes in > the file in the working tree seems a bit odd to me and we seem to be > prepared to load a file of any size from an untrusted source.
The latter sounds like a sensible thing to worry about. Thanks for bringing it up.
I do not have strong opinions either way on the former myself (the behaviour implemented is to attempt matching what the hosting sites do, which obviously work from the committed copy). It indeed feels more intuitive if the checked out copy (or even the file before it gets added for the first time) were consulted.
Thanks.