Re: Marking file as non-binary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maaartin <grajcar1@xxxxxxxxx> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]