You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Virtualenv now drops a .gitignore file. While I understand where you are coming from, it is a mistake to assume virtualenv owns the target directory. For example, I and many people I work with typically do this:
Recent versions of virtualenv add a .gitignore file into my sandbox. To make matters worse it even overwrites an existing .gitignore file! This is very clearly wrong.
I suggest to not write the .gitignore file unless virtualenv has created the target directory, or at least don't write it if the target directory already contains a .git directory and/or a .gitignore file.
Thanks!
The text was updated successfully, but these errors were encountered:
Refs #1806
Virtualenv now drops a .gitignore file. While I understand where you are coming from, it is a mistake to assume virtualenv owns the target directory. For example, I and many people I work with typically do this:
Recent versions of virtualenv add a .gitignore file into my sandbox. To make matters worse it even overwrites an existing .gitignore file! This is very clearly wrong.
I suggest to not write the .gitignore file unless virtualenv has created the target directory, or at least don't write it if the target directory already contains a .git directory and/or a .gitignore file.
Thanks!
The text was updated successfully, but these errors were encountered: