Skip to content

Conversation

chaitanyagurrapu
Copy link
Contributor

Improve comment about what the '**' glob pattern does.

Improve comment about what the '**' glob pattern does.
doc/*.txt
# ignore all .pdf files in the doc/ directory
# ignore all .pdf files in the doc/ directory or in the sub directories of doc/
Copy link
Member

Choose a reason for hiding this comment

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

Hmm. What about this instead?

# ignore all .pdf files anywhere inside the doc/ 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.

I think it is nicer to have the word "sub directory" in there somewhere. To make the association with '**' stronger and remove any ambiguity. After all that is what it is all about, which you might not know if you were seeing it for the first time.

Copy link
Member

Choose a reason for hiding this comment

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

OK, how about this then:

# ignore all .pdf files in the doc/ directory or any of its subdirectories

Copy link

Choose a reason for hiding this comment

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

Maybe this is logically "more true"? :D

# ignore all .pdf files in the doc/ directory or and any of its subdirectories

@chaitanyagurrapu chaitanyagurrapu force-pushed the patch-1 branch 3 times, most recently from cf4f783 to d93f11b Compare June 21, 2017 06:36
@chaitanyagurrapu
Copy link
Contributor Author

Updated accordingly.

@ben
Copy link
Member

ben commented Jun 21, 2017

👍 Thanks!

@ben ben merged commit 937f5eb into progit:master Jun 21, 2017
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.

3 participants