-
Notifications
You must be signed in to change notification settings - Fork 389
Add missing and update .gitignore files to prevent untracked files Git status #2133
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
Conversation
|
I suggest adding a cross-platform script to the repo to maintain these files going forward. See https://github.com/OpenDDS/OpenDDS/blob/master/tools/scripts/update_gitignore.pl for an example |
.gitignore
Outdated
|
|
||
| # compiled test binaries, so that git status doesn't show untracked files | ||
| /ACE/protocols/examples/INet/ftp_simple_wget | ||
| /ACE/protocols/examples/INet/http_simple_wget | ||
| /ACE/protocols/tests/HTBP/Send_Recv_Tests/client | ||
| /ACE/protocols/tests/HTBP/Send_Recv_Tests/server | ||
| /ACE/protocols/tests/INet/MT_Get/mt_get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tend to be easier to manage when they're in the local .gitignore for the project's directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving those now
Happy to do that, but do you have a suggestion for where in the directory structure I should place this? |
It could go in |
I went with |
When I commented
orbsvcs/testsin the exclude block and then ran MWC and Make,git statusrevealed a host of new untracked files due to MWC and Make creating new files throughout this directory. The best solution I could come up with to keep these files out of Git was to add a bunch of new.gitignorefiles and update several existing.gitignorefiles. This will prevent this problem going forward for other developers. These are the only changes in this pull request.If the context helps, this is the Bash command that I used to generate these changes automatically after MWC and Make: