Re: Marking file as non-binary
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Feb 2, 2011, 15:05 UTC
- Message-ID
- <vpqtygm8ok8.fsf@bauges.imag.fr>
- In-Reply-To
- <iibrce$a8g$1@dough.gmane.org>
Maaartin <grajcar1@seznam.cz> writes:
> For whatever reason, git claims that my foo.cpp (c++ source) is > binary,
There is probably a null character in your source ('\0'). You usually don't want that, regardless of Git.
> *.cpp diff=true text=true
*.cpp diff
works for me. Otherwise, "git log -p -a".
-- Matthieu Moy http://www-verimag.imag.fr/~moy/