On Fri, Jun 04, 2010 at 11:38:39PM -0700, Junio C Hamano wrote:
It can be done by defining a custom textconv filter that adds a trailing
LF to a blob that ends in an incomplete line, and what your patch 3/4 does
is essentially to create such a built-in textconv filter and *force* users
to use it unconditionally for all paths unless the user explicitly asks
not to use *any* textconv.
Side note: it would be kind of cool to have .gitattributes selectable on
file mode, so you could implement this feature entirely as a textconv on
symlinks. And then you could pretty-print them however you liked.
That may be going overboard, though.
-Peff