Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global .gitignore file generation #10

Merged
merged 4 commits into from
Jan 14, 2015
Merged

Global .gitignore file generation #10

merged 4 commits into from
Jan 14, 2015

Conversation

munrocape
Copy link
Contributor

I also updated the output of the README on how to amend a global .gitignore.

Deals with #7 as well

_fetch_gitignore(raw_name)


def _fetch_gitignore(raw_name, directory=''):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The empty string is handled as None. As a result, if the os.path was line 79 each time the filepath created would be only '/raw_name.gitignore'

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Would be helpful to include this same note in the docs of this method.

'''one-line description of method.

longer desc spanning
multiple lines explaining what happens here.
'''

This was referenced Jan 13, 2015
@munrocape
Copy link
Contributor Author

Thanks for the feedback, @karan 👍

karan pushed a commit that referenced this pull request Jan 14, 2015
Global .gitignore file generation
@karan karan merged commit 388953e into karan:master Jan 14, 2015
@karan
Copy link
Owner

karan commented Jan 14, 2015

Looks good. Merging now, and will publish in a bit.

Thanks for doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants