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

.gitignore pattern ambigous #1

Open
namibj opened this issue Oct 7, 2016 · 2 comments
Open

.gitignore pattern ambigous #1

namibj opened this issue Oct 7, 2016 · 2 comments

Comments

@namibj
Copy link

namibj commented Oct 7, 2016

The question

What .gitignore pattern would you use to ignore all .txt files in the doc folder?

is ambigous with it asking for

doc/**/*.txt

because

doc/*.txt

is the right one according to the minimum information principle. The correct question would be

What .gitignore pattern would you use to ignore all .txt files under the doc folder?

, as the in is the most fitting word to describe files only directly in the doc folder, but not any subfolders. I know this is just a slight difference and subject to personal preferences, but we should be able to declare it too ambiguous and therefore subject to result in different thoughtpaths on each revising and we know this results in poor learning efficiency.

@Stvad
Copy link
Owner

Stvad commented Oct 8, 2016

feel free to create PR for that ;)

@namibj
Copy link
Author

namibj commented Oct 8, 2016

I will, once I get time to do it. Just wanted to make the issue clear and for others to see.

@namibj namibj closed this as completed Oct 8, 2016
@namibj namibj reopened this Oct 8, 2016
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

No branches or pull requests

2 participants