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

Don't include files not tracked by git when looking for uncommitted files. #51

Merged
merged 1 commit into from Feb 18, 2016
Merged

Conversation

oalders
Copy link
Contributor

@oalders oalders commented Feb 17, 2016

This can provide a big speed boost in situations where checking for untracked files can be quite slow.

vagrant@ct100-test:~/mm_website$ time git status --porcelain -z
?? .DS_Store?? doc/.DS_Store
real    0m1.628s
user    0m0.080s
sys     0m0.592s
vagrant@ct100-test:~/mm_website$ time git status --porcelain -z -uno

real    0m0.077s
user    0m0.015s
sys     0m0.061s

2shortplanks added a commit that referenced this pull request Feb 18, 2016
Don't include files not tracked by git when looking for uncommitted files.
@2shortplanks 2shortplanks merged commit d5bb4fe into houseabsolute:master Feb 18, 2016
autarch added a commit that referenced this pull request Feb 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants