Re: About git reporting missing newline for symlinks
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Oct 13, 2022, 02:17 UTC
- Message-ID
- <Y0d1Q/Vrgf5UZY+J@nand.local>
- In-Reply-To
- <Y0c0tDEDpV8fO6n/@tapette.crustytoothpaste.net>
On Wed, Oct 12, 2022 at 09:42:12PM +0000, brian m. carlson wrote:
Show 8 quoted lines
> On 2022-10-12 at 21:34:55, Junio C Hamano wrote: > > Just a fun thought experiment, but I wonder what would happen if a > > user chooses to add .clean and .smudge filter that adds and strips > > a LF at the end ;-) > > I don't believe those are invoked on symlinks, since I don't recall us > having to handle symlinks in Git LFS, which works using a smudge and > clean filter.
That is right. It matches my memory, at least, though it has been a very long time since I've thought that hard about the clean / smudge code.
Thanks, Taylor