Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Using Guzzle instead of file_get_contents to fetch .gitignore file #245

Merged
merged 2 commits into from
Apr 1, 2016
Merged

Using Guzzle instead of file_get_contents to fetch .gitignore file #245

merged 2 commits into from
Apr 1, 2016

Conversation

mariuspuiu
Copy link
Contributor

Fixing issue #242
Replaced file_get_contents to get .gitignore file with Guzzle (to bypass proxy issues).

@stof
Copy link
Member

stof commented Mar 21, 2016

please revert the permission change. This file has no reason to be executable.

If you are using Windows, see http://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-changes for the way to tell git to ignore them (as Windows does not support Unix permissions). I think GitBash configures this by default, but maybe not other installers.

@mariuspuiu
Copy link
Contributor Author

Done. Windows always gets me!

@xabbuh
Copy link
Member

xabbuh commented Mar 22, 2016

👍

@javiereguiluz
Copy link
Member

@mariuspuiu thanks for this. It's useful and makes the code more consistent.

@javiereguiluz javiereguiluz merged commit ca2db3a into symfony:master Apr 1, 2016
javiereguiluz added a commit that referenced this pull request Apr 1, 2016
…gnore file (marius.puiu, mariuspuiu)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Using Guzzle instead of file_get_contents to fetch .gitignore file

Fixing issue #242
Replaced `file_get_contents` to get `.gitignore` file with `Guzzle` (to bypass proxy issues).

Commits
-------

ca2db3a Reverted DownloadCommand.php permissions
352f4d9 Using Guzzle instead of file_get_contents to fetch .gitignore file (issue #242)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants