Following my previous email "Tracking vendor release with Git" ,
and the advice from Git users/developers, I'm trying to use
to handle CRLF/LF conversion.
While testing the behavor of Git regarding CRLF handling,
when core.safecrlf is set to true, I've found that "git diff" is
"fatal: CRLF would be replaced by LF" without returning any kind of
This make me wonder if its the correct behavor for git diff to (only)
It should be fatal for git add / git commit ( / git cherry-pick / ...
but non fatal for git diff.
According to the documentation git-config(5) :
"Git will verify if a command modifies a file in the work tree either
directly or indirectly"
I don't thing "git diff" is an operation that could modify a file.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html