On Jan 7, 2008, at 2:50 PM, Peter Karlsson wrote:This is a typical problem. Once CRLFs are in your repository autocrlf can't "just work" anymore. You need to commit a fixed version of the files. "Just works" has a different meaning for git than it has for CVS. For git, it means that once you _told_ git how to convert line endings (that is you have correctly configured autocrlf), git will automatically detect text files and convert them, but leave binary files untouched. It "just works" in the sense that you do not need to explicitly tell git about every single binary files (no cvs -kb needed). Git will auto-detect the file type. But if you does tell git to convert line endings it "just works" as if every file was binary. Per default, git does not modify your content. And for some people, "just works" means exactly this: leave my content as is. So it really depends on the context and therefore some configuration is inevitable. git requires you to configure autocrlf. cvs requires you to set -kb. You may, though, set "core.autocrlf true" globally for your account. After you did this, git should "just work" for you; if "just works" means convert CRLF in _all_ text files in _every_ repository. Steffen - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [patch 00/71] 2.6.26-stable review |
| Dmitry Torokhov | 2.6.27-rc8+ - first impressions |
| jimmy bahuleyan | Re: Hibernation considerations |
git: | |
| Petr Baudis | [FYI][PATCH] Customizing the WinGit installer |
| Jan Hudec | Re: [PATCH] Move all dashed form git commands to libexecdir |
| Jay Soffian | Re: [PATCH] gitweb: Support caching projects list |
| Mark Levedahl | Allowing override of the default "origin" nickname |
| Richard Stallman | Real men don't attack straw men |
| Leon Dippenaar | New tcp stack attack |
| Luca Dell'Oca | Authenticate squid in Active Directory |
| Todd Pytel | IDE or SCSI virtual disks for VMWare image? |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Matthew Dharm | Re: [RFC] Patch to option HSO driver to the kernel |
| Ingo Molnar | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
| David Miller | Re: [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit kernels. |
