From: Junio C Hamano Date: Thu, 22 May 2025 22:26:42 GMT Subject: Re: buggy smudge/clean of empty files Message-ID: In-Reply-To: <20250522221523.GA21347@coredump.intra.peff.net> Jeff King 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.