Re: [PATCH v6] safecrlf: Add mechanism to warn about irreversible crlf conversions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steffen Prohaska <prohaska@...>
Cc: <git@...>
Date: Sunday, February 3, 2008 - 6:50 am

Steffen Prohaska <prohaska@zib.de> writes:


The above 25-line or so are well written and deserve to be in
the end user documentation somewhere, I think, to explain why it
is a good idea to have these warnings to them..


I do not get this logic at all.

The whole point of git-apply is to apply the patch.  If you say
--whitespace=fix and some contents (say one of the testsuite
files in our t/ directory) needed to keep trailing newline, you
obviously are left with a broken result, and you would recover
by checking it out from index or HEAD and reapply.  Why
shouldn't the same principle hold here?

I haven't looked at the code of this round yet, but I promise I
will.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v6] safecrlf: Add mechanism to warn about irrever..., Junio C Hamano, (Sun Feb 3, 6:50 am)
Re: [PATCH v7] safecrlf: Add mechanism to warn about irrever..., Johannes Schindelin, (Sun Feb 3, 6:29 pm)
Re: [PATCH v7] safecrlf: Add mechanism to warn about irrever..., Johannes Schindelin, (Mon Feb 4, 11:01 am)
Re: [PATCH] [v8] safecrlf: Add mechanism to warn about irrev..., Johannes Schindelin, (Mon Feb 4, 11:02 am)
Re: [PATCH] [v8] safecrlf: Add mechanism to warn about irrev..., Johannes Schindelin, (Mon Feb 4, 1:27 pm)