Re: [git-users] Re: git diff shows some cpp file as binary and core.attributesfile has no effect

2011-02-04 Thread Polonkai Gergely
2011. 02. 3, csütörtök keltezéssel 13.38-kor apostasia ezt írta:
> > I just recreated the problem here on OSX with git 1.7.3.3.
> > Maybe it's a bug in git?
> 
> was thinking that too, I'll file a report.
> 
> 
> > Just a quick idea from me, but isn't it possible you are using some extreme 
> > encoding?
> 
> quick but good idea! I opened the affected file in Notepad++ and it
> shows it's encoded as UCS-2 Little Endian. No idea how that ever
> happened (said files aren't created by me): content looks like plain
> ascii to me. Tomorrow I'll investigate this further, but likely it
> will be solved by just convertig them to ascii.
> 

Since it's in UCS2, it may contain some non-US characters, so I would
prefer UTF-8. According to my own experience, git can handle that one
perfectly.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: git diff shows some cpp file as binary and core.attributesfile has no effect

2011-02-03 Thread Polonkai Gergely
Just a quick idea from me, but isn't it possible you are using some extreme 
encoding?

On 2011.02.03., at 19:01, Thomas Ferris Nicolaisen  wrote:

> I just recreated the problem here on OSX with git 1.7.3.3.
> 
> Maybe it's a bug in git?
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/git-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.