Comments (14)
Sorry, I think it was my mistake. I forgot to clone and commit after adding the .gitattributs file. I just did a fresh clone and commited the EOL. Now it should be OK.
I think #35 (comment) is also related to this issue.
from chocolatey-packages.
Git config --global core.autocrlf false
That setting is required for choco repos (you can omit the global if you
prefer to set it on each repo).
Second setting is repo specific
git config core.filemode false
On Sunday, December 21, 2014, Gary Ewan Park [email protected]
wrote:
ok, what has changed with this repository...
I have just done a fresh git clone, and immediately all 358 files are
marked as changed:[image: image]
https://cloud.githubusercontent.com/assets/1271146/5519753/1b532418-8959-11e4-90ad-947a43397264.pngI haven't changed anything in my git configuration, so something must have
changed in this repository, unless anyone can think of something else.What do we need to add to the gitattributes file to solve this problem? I
can only assumed that the issue is to do with line endings, when shared
between *nix and windows.@Redsandro https://github.com/Redsandro @TomOne
https://github.com/TomOne @ferventcoder
https://github.com/ferventcoderโ
Reply to this email directly or view it on GitHub
#37.
Rob
"Be passionate in all you do"
http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder
from chocolatey-packages.
In other words I prefer no magic.
from chocolatey-packages.
This is open to conversation but the solution needs to work against Windows and *nix at the same time in the same working set. To help you understand what I mean - in a VM and out of a VM using it as a shared folder.
If you have a good answer for that other than what I use above, I'm all ears.
from chocolatey-packages.
Git config --global core.autocrlf false
This I already had. Didn't have the second setting, so will keep that in mind.
from chocolatey-packages.
. Now it should be OK.
Nope, just did a re-clone. Although things are "better" I am still seeing immediately 277 changes.
from chocolatey-packages.
If I use:
Git config --global core.autocrlf true
Then is works fine. But that goes against what @ferventcoder is recommending. How should we proceed?
from chocolatey-packages.
It's actually not a recommendation. ;)
On Sunday, December 21, 2014, Gary Ewan Park [email protected]
wrote:
If I use:
Git config --global core.autocrlf true
Then is works fine. But that goes against what @ferventcoder
https://github.com/ferventcoder is recommending. How should we proceed?โ
Reply to this email directly or view it on GitHub
#37 (comment)
.
Rob
"Be passionate in all you do"
http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder
from chocolatey-packages.
It's actually not a recommendation. ;)
Ha ha! Ok, so what do we need to do to fix this. If I use core.autocrlf false
and do a clone of the repository, there are immediately 277 files different. If I use core.autocrlf true
things are good to go.
What needs to happen to the files in the repository to make everyone happy?
from chocolatey-packages.
@ferventcoder, ๐ for git config --global core.autocrlf false
, but we cannot expect that all users have this setting. Therefore itโs better to set it in .gitattributes
to disable it repo-wide for all users. This should do it: 6a805f3.
@gep13 after I made 6a805f3 I donโt have the issue of changed files after a clone anymore. Can you confirm that?
from chocolatey-packages.
It's actually not a recommendation. ;)
But I would recommend it. I donโt understand folks who recommend to set autocrlf
to true
. That setting could break files which need a specific EOL.
from chocolatey-packages.
Ha, what I meant was - with all chocolatey repos you can expect that they
are autocrlf false, so whether you set it globally or per repo, its easy to
know what setting you are expected to have if you come to chocolatey to
contribute. :)
On Sunday, December 21, 2014, TomOne [email protected] wrote:
@ferventcoder https://github.com/ferventcoder
It's actually not a recommendation. ;)
But I would recommend it. I donโt understand folks who recommend to set
autocrlf to true. That setting could break files which need a specific
EOL.โ
Reply to this email directly or view it on GitHub
#37 (comment)
.
Rob
"Be passionate in all you do"
http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder
from chocolatey-packages.
This sounds just like #35 (comment)
-edit-
@TomOne already said the same. Sorry I'm late to the party. PS - gonna go on holiday. Be back next year. :)
from chocolatey-packages.
I have just tried again, and looks like it is now all good.
When I last tried, it was with this commit from @TomOne and things still weren't working, but now they are.
Thanks
from chocolatey-packages.
Related Issues (20)
- (msoledbsq) Outdated HOT 2
- (ruby) Request a re-run of verification testing for packages with dependency race condition HOT 2
- libreoffice-fresh HOT 5
- (notepadplusplus) Notepad++ 8.6.5 -> 8.6.7 HOT 2
- (autohotkey.install) install failing in verifier and in test environment HOT 5
- putty.install does not honour --install-directory HOT 3
- (nexus-repository) Outdated HOT 4
- (VirtuaBox) Not able to install VirtualBox HOT 1
- (mumble) Mumble 1.5.634 available HOT 2
- (libreoffice-still) HOT 1
- (sqlite3) Does not install 64-bit version HOT 4
- (rufus) create start menu shortcut HOT 2
- (cyg-get) space in cygRoot HOT 10
- (tixati) Checksum mismatch in submitted version, but update.ps1 gathers correct sum (now). HOT 1
- (autohotkey.install) Packages version 2.0.15, 2.0.16 and 2.0.17 are failing verification HOT 2
- (libreoffice-still) was incorrectly updated to the libreoffice-fresh version HOT 9
- autohotkey and autohotkey (install) HOT 2
- (FortiClient VPN) Long awaited update HOT 2
- python310 HOT 1
- (sysinternals) Unable to install sysinternals due to checksum error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chocolatey-packages.