Skip to content

Commit

Permalink
Ignore files that are generated files by the protocol buffer compiler (
Browse files Browse the repository at this point in the history
…#19670)

It seems that some files that are generated by the compiler for tests aren't ignored correctly. So I always get the untracked files when I run the tests.
https://github.com/protocolbuffers/protobuf/blob/59a8de6610b6adbd49211a7805c505877f3ace0c/ruby/Rakefile#L23-L39

This PR ignores those files to avoid treating them as untracked files.

Closes #19670

COPYBARA_INTEGRATE_REVIEW=#19670 from y-yagi:ignore_generated_files 2a93c59
PiperOrigin-RevId: 706847541
  • Loading branch information
y-yagi authored and copybara-github committed Dec 16, 2024
1 parent 2c85f72 commit 3502f38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ ruby/tests/multi_level_nesting_test_pb.rb
ruby/tests/service_test_pb.rb
ruby/tests/test_import_proto2_pb.rb
ruby/tests/test_ruby_package_proto2_pb.rb
ruby/tests/basic_test_features_pb.rb
ruby/tests/generated_code_editions_pb.rb
ruby/tests/repeated_field_test_pb.rb
ruby/tests/stress_pb.rb
ruby/tests/utf8_pb.rb
ruby/compatibility_tests/v3.0.0/protoc
ruby/compatibility_tests/v3.0.0/tests/generated_code_pb.rb
ruby/compatibility_tests/v3.0.0/tests/test_import_pb.rb
Expand Down

0 comments on commit 3502f38

Please sign in to comment.