Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!
Expand All 1 - 20 of 126 Next › Last »
6Expand

[msysGit] Re: CRLF problems with Git on Win32

I'd say "could be helped". For the msysgit development, for example, we do _not_ want to have core.autocrlf = true but prefer to preserve the Unix line ending even when working on Windows. We have only few Windows-specific files that are committed with CRLF. We _know_ the problem and we explicitly handle it. I believe, best would be if a line ending policy could be configured for a project. Then, the decision could be made once for the project and should be enforced on all clones. But currently git has no concept for this. A sound policy for "real cross-platform" is that CRLF must never enter the repository unless git detects a file as binary, or a file is explicitly listed in .gitattributes. It doesn't really matter if Windows users check out files with CRLF or LF. It only matters that they'll never commit a file with CRLF. Note, the same is true for Unix users. People could send code by email or copy source files from Windows to Unix machines. Then, CRLF would enter the repo on Unix. So the least that should be set for this type of projects on any OS is core.autocrlf = input. On Windows, core.autocrlf = true is probably more natural. I like Linus' idea of "warn" or Gregory's "fail". Would "warn/fail" be the default on Unix, too? Then Unix users would also be forced to make an explicit choice. Maybe some day they want to check out their project on Windows and they should be prepared now. For typical files, the warning (or error) would never trigger. But maybe one day they copy a file from a Windows machine and forget to run dos2unix. In this case, git would warn them unless they set "core.autocrlf = false". I'm asking the last question because every Unix developer should think about the option, too. Neither Unix or Windows are causing the problem alone. It's the combination in a cross-platform project. Git could ensure that any repository is in principal prepared for cross-platform, unless explicitly told not to do so. So, would you, as Linux developers, like to have (or accept) "warn/fail" as your default? This

Tags: git, learning on 2008-10-02 -All Annotations (6) -About

more fromwww.mail-archive.com

1Expand

Capi’s Corner » Blog Archive » Git on Windows: “You have some suspicious patch lines”

Tags: git, learning, windows on 2008-10-02 and saved by4 people -All Annotations (1) -About

more fromwww.dont-panic.cc

50Expand

An introduction to git-svn for Subversion/SVK users and deserters

Tags: dvcs, vcs, git, comparison, svn, mercurial, bazaar on 2008-10-01 and saved by10 people -All Annotations (78) -About

more fromutsl.gen.nz

3Expand

Git's future on windows looks better

Tags: dvcs, git, comparison on 2008-10-01 and saved by2 people -All Annotations (4) -About

more fromkernel.org

1Expand

D.C.T.W.Y.C.D.T: dancing between github and subversion repository

Tags: git, svn, git-svn on 2008-10-01 -All Annotations (1) -About

more fromariya.blogspot.com

3Expand

Mark Shuttleworth » Blog Archive » Merging is the key to software developer collaboration

Tags: dvcs, vcs, comparison on 2008-10-01 and saved by3 people -All Annotations (3) -About

more fromwww.markshuttleworth.com

13Expand

Mark Shuttleworth » Blog Archive » Renaming is the killer app of distributed version control

1Expand

git-svn clone and rebase fails in 1.5.6-preview20080622 (was Re: [msysGit] Re: [ANNOUNCE] GIT 1.5.6) - msysGit | Google Groups

msysgit doesn't support integration with svn (2008-07). This means it only works with a git infrastructure.

Tags: dvcs, git, msysgit, svn on 2008-09-30 -All Annotations (1) -About

more fromgroups.google.com

4Expand

SVN 1.5

Tags: dvcs, vcs, git, comparison on 2008-09-29 and saved by2 people -All Annotations (5) -About

more fromdot.kde.org

7Expand

InfoQ: Distributed Version Control Systems: A Not-So-Quick Guide Through

Tags: dvcs, vcs, git, comparison on 2008-09-29 and saved by20 people -All Annotations (7) -About

more fromwww.infoq.com

3Expand

David Bock's Weblog : Weblog

Tags: dvcs, vcs, git, comparison on 2008-09-29 -All Annotations (3) -About

more fromwww.jroller.com

2Expand

Discipline...

Tags: dvcs, vcs, git, comparison on 2008-09-29 -All Annotations (2) -About

more fromdot.kde.org

18Expand

Akademy Redux: Release Team Members Propose New Development Process

Tags: dvcs, vcs, git, comparison on 2008-09-29 and saved by2 people -All Annotations (18) -About

more fromdot.kde.org