Re: [git-users] File modified after git clone

2013-02-27 Thread José Guilherme Vanz
I opened the modified file with a hexa viewer and the end of the lines
are 0D0A ( CRLF ).

In my project on the file .gitattributes is:*.java text
*.scala text
*.xml text
*.properties text
*.properties.default text
*.sh text
*.pig text
*.py text
*.md text

PS: My file is a java source



On 27 February 2013 00:24, Dale R. Worley wor...@alum.mit.edu wrote:

  From: José Guilherme Vanz guilherme@gmail.com
 
  For a better explanation. This modified file is shown like all its lines
  have been deleted and included again...

 That symptom means that the file formerly had LF line endings and was
 replaced by the version with CR-LF line endings (or vice-versa).
 Carefully extract both versions, and examine them with a program that
 shows you the line endings.

 Dale

 --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Att. José Guilherme Vanz
br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/http://br.linkedin.com/pub/jos%C3%A9-guilherme-vanz/51/b27/58b/
http://blog.pt-br.libreoffice.org/
https://groups.google.com/d/forum/openqg

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] File modified after git clone

2013-02-27 Thread Dale R. Worley
 From: José Guilherme Vanz guilherme@gmail.com
 
 I opened the modified file with a hexa viewer and the end of the lines
 are 0D0A ( CRLF ).

Now extract the *previous* version of the file, the one that Git
thinks is so different, and look at its ends of lines.

Dale

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[git-users] File modified after git clone

2013-02-26 Thread José Guilherme Vanz


After clone a github repository in my PC, a file is showing like a modified 
file. But the last modification in this file was done 8 months ago. How is 
possible? I tried execute git checkout -- . but the file continues like a 
modified file.

Anybody have a tip/solution for the problem?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] File modified after git clone

2013-02-26 Thread José Guilherme Vanz
I'm using Ubuntu 12.10.
For a better explanation. This modified file is shown like all its lines
have been deleted and included again...



On 26 February 2013 23:37, William Seiti Mizuta william.miz...@gmail.comwrote:

 What is your operating system? Maybe it is the EOL character.


 William Seiti Mizuta
 @williammizuta
 Caelum | Ensino e Inovação
 www.caelum.com.br


 On Tue, Feb 26, 2013 at 11:31 PM, José Guilherme Vanz 
 guilherme@gmail.com wrote:

 After clone a github repository in my PC, a file is showing like a
 modified file. But the last modification in this file was done 8 months
 ago. How is possible? I tried execute git checkout -- . but the file
 continues like a modified file.

 Anybody have a tip/solution for the problem?

 --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Att. José Guilherme Vanz
br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/http://br.linkedin.com/pub/jos%C3%A9-guilherme-vanz/51/b27/58b/
http://blog.pt-br.libreoffice.org/
https://groups.google.com/d/forum/openqg

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.