git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [msysgit? bug] crlf double-conversion on win32
@ 2009-10-13 20:49 Yann Dirson
  2009-10-13 22:17 ` Eric Raible
  0 siblings, 1 reply; 7+ messages in thread
From: Yann Dirson @ 2009-10-13 20:49 UTC (permalink / raw)
  To: git

With a msysgit 1.6.4 package, I got stuck after someone copied a CRLF file
to a Linux box and committed it.

In that situation, the win32 client in autocrlf mode keeps telling that
the files are locally modified, even after eg "git reset --hard".  Without
touching the crlf setting (which I believe should not ever be necessary),
this can be corrected by committing the faulty files after dos2unix'ing
them, and using "git fetch && git reset --hard origin/master" ("git pull
--rebase" refuses to do the job since it believes there are local
changes).

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-14 20:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 20:49 [msysgit? bug] crlf double-conversion on win32 Yann Dirson
2009-10-13 22:17 ` Eric Raible
2009-10-14 14:03   ` Johannes Schindelin
2009-10-14 15:59     ` Laurent Boulard
2009-10-14 18:17     ` Eric Raible
2009-10-14 18:47     ` Junio C Hamano
2009-10-14 20:46       ` Eric Raible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).