Ticket #6308 (closed: fixed)
Set the git 'text' attibute on the mantid repository
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.4 |
Component: | Infrastructure | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description
Git 1.7.2+ has a new method of ensuring line-ending consistency in the repository. Previously, this relied on each developer setting a config property, but now you can add an attribute to the .gitattributes file.
Details are at https://help.github.com/articles/dealing-with-line-endings#platform-all
Fuller details are at http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/
Change History
comment:2 Changed 8 years ago by Russell Taylor
Re #6308. Add a .gitattributes file setting the new 'text' attribute
From git 1.7.2, there's a new way of dealing with line endings. This setting of the attribute should mean that developers get their native line endings locally, but that we only get LF endings in the repo. Requiring everyone to set a config property to enforce this should no longer be necessary.
Changeset: 6e763532fcda178551e3a8a647619f2b8713fb54
comment:3 Changed 8 years ago by Russell Taylor
Re #6308. Add a .gitattributes file setting the new 'text' attribute
From git 1.7.2, there's a new way of dealing with line endings. This setting of the attribute should mean that developers get their native line endings locally, but that we only get LF endings in the repo. Requiring everyone to set a config property to enforce this should no longer be necessary.
Changeset: 39070c6d2d085d1c433269736969f04845298c02
comment:4 Changed 8 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed