[gstreamer-bugs] [Bug 587970] Make git repository LF only for the benefit of Windows clients

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 11 21:28:36 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=587970
  GStreamer | gstreamer (core) | git

LRN <lrn1986> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lrn1986 at gmail.com

--- Comment #4 from LRN <lrn1986 at gmail.com> 2009-12-12 05:25:25 UTC ---
Set core.autocrlf = false, then re-clone the repository (this IS necessary!).
autocrlf = false will prevent Git from mangling any data you pull and any data
you commit. Only use LF-abiding text editors on repository files afterward
(again, because Git won't fix lineendings for you, so if your text editor
inserts CRLF where it shouldn't, your commits will have mixed LF/CRLF
lineendings, making GStreamer developers sad).

The fact that MSysGit leaves autocrlf=true by default is disturbing,
considering that it is built around MSys, which handles LF-only lineendings
just fine.

At the moment only a few files in GStreamer repositories do have CRLF
lineendings. They are like that on purpose, because they are intended to be
used by MSVC (MSVC dislikes LF-only lineendings).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list