Re: buggy smudge/clean of empty files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 22, 2025, 22:26 UTC
- Message-ID
- <xmqqr00g2sf1.fsf@gitster.g>
- In-Reply-To
- <20250522221523.GA21347@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> So I dunno. I'm hoping somebody more familiar with the index and/or > clean/smudge conversions can show a better way.
My initial reaction was "well, do not do it then---an emptyness smudges to and cleans to an emptyness and that is either by design, or is a known limitation of the design of smudge/clean".
If somebody can show a clean way to lift that assumption buried deep inside the design, that would indeed be nice ;-)
Thanks.