Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH 1/4] diff/xdiff: refactor EOF-EOL detection

From: Jeff King <hidden>
Date: 2016-06-15 22:48:55

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help