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

Ignore .git and .svn directories #7

Merged
merged 1 commit into from
Jan 14, 2018

Conversation

julienfalque
Copy link
Member

Alternative to #6 to implement #4.

/cc @keradus

@keradus
Copy link
Member

keradus commented Jan 13, 2018

is it a good PR to add support for custom exclusion #5 ?

@julienfalque
Copy link
Member Author

I'd rather do it in a dedicated PR.

@@ -9,7 +9,7 @@ run_test() {
cd "${1}files" || return 3
output=$(../../../check-trailing-whitespaces)
status_code="$?"
cd ../.. || return 3
cd "$OLDPWD" || return 3
Copy link
Member

Choose a reason for hiding this comment

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

wow

Copy link
Member Author

Choose a reason for hiding this comment

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

This is equivalent to cd - > /dev/null.

@julienfalque julienfalque merged commit b612447 into PHP-CS-Fixer:master Jan 14, 2018
@julienfalque julienfalque deleted the ignore-git-svn branch January 14, 2018 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants