@nobodyinperson @mih @chrysn worth noting that this same patch also presumably breaks pushing legitimate symlinks with link text > 260 characters to a Windows host, assuming git on windows is built with a typical Windows PATH_MAX. Such a symlink is entirely legal on linux of course.
I wonder who reviewed this...
https://github.com/git/git/blame/a33fea0886cfa016d313d2bd66bdd08615bffbc9/fsck.c#L1239