Skip to content

Commit ae0129f

Browse files
y-yagicopybara-github
authored andcommitted
Ignore files for doc (#22449)
Currently, when I run the rake task, I get diffs under `lib/stubs/`. Those files are for the doc that was added by #21212. ``` $ git status HEAD detached at upstream/main (use "git add <file>..." to include in what will be committed) lib/stubs/abstract_message.rb lib/stubs/descriptor.rb lib/stubs/descriptor_pool.rb lib/stubs/enum.rb lib/stubs/enum_descriptor.rb lib/stubs/field_descriptor.rb lib/stubs/file_descriptor.rb lib/stubs/map.rb lib/stubs/method_descriptor.rb lib/stubs/oneof_descriptor.rb lib/stubs/repeated_field.rb lib/stubs/service_descriptor.rb nothing added to commit but untracked files present (use "git add" to track) ``` I assume those files are not needed to commit to the repository. So I updated settings to ignore those. Closes #22449 COPYBARA_INTEGRATE_REVIEW=#22449 from y-yagi:ignore_files_for_doc 1df51d7 PiperOrigin-RevId: 777902367
1 parent 7655b1f commit ae0129f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ruby/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ ext/google/protobuf_c/third_party/utf8_range/utf8_range.c
1212
ext/google/protobuf_c/third_party/utf8_range/utf8_range_sse.inc
1313
ext/google/protobuf_c/third_party/utf8_range/utf8_range_neon.inc
1414
ext/google/protobuf_c/third_party/utf8_range/LICENSE
15-
lib/google/protobuf/*_pb.rb
15+
lib/google/protobuf/*_pb.rb
16+
lib/stubs/*.rb

0 commit comments

Comments
 (0)