All of lore.kernel.org
 help / color / mirror / Atom feed
* Removing dos end of line
@ 2010-10-14 10:51 Mathieu Malaterre
  0 siblings, 0 replies; only message in thread
From: Mathieu Malaterre @ 2010-10-14 10:51 UTC (permalink / raw)
  To: git

Hi,

  I am trying to rewrite a git history and remove dos end of line. I used:

git filter-branch --tree-filter dos2unix -- --all

However it still report:

error: You have local changes to 'bla.c'; cannot switch branches.

Here is my setting:

$ cat ~/.gitconfig
...
[core]
	autocrlf = input


Should I be doing something else to remove dos file from history ?

Thanks,
-- 
Mathieu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-14 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14 10:51 Removing dos end of line Mathieu Malaterre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.