Skip to content

Commit

Permalink
third_party/fuchsia: Rename function.patch
Browse files Browse the repository at this point in the history
Rename function.patch to pigweed_adaptations.patch since it affects more
than just the function sources.

Change-Id: I06c845927928f2cf32866b3dff567f096b3f9910
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/109715
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
  • Loading branch information
255 authored and CQ Bot Account committed Sep 9, 2022
1 parent 413cc71 commit 63a2ee5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion third_party/fuchsia/copy.bara.sky
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ core.workflow(
authoring = authoring.pass_thru("Fuchsia Authors <noreply@google.com>"),
transformations = [
core.move("", "third_party/fuchsia/repo"),
patch.apply(["function.patch"]),
# Apply the patch file created by generate_fuchsia_patch.py.
patch.apply(["pigweed_adaptations.patch"]),
# Show all commits but exclude the author to reduce line length.
metadata.squash_notes(
"third_party/fuchsia: Copybara import of the fit library\n\n",
Expand Down
3 changes: 2 additions & 1 deletion third_party/fuchsia/generate_fuchsia_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def _main() -> None:
Path('third_party/fuchsia/repo', path).as_posix().encode())

# Write the diff to function.patch.
with output_path.joinpath('function.patch').open('wb') as output:
with output_path.joinpath('pigweed_adaptations.patch').open(
'wb') as output:
output.write(HEADER)

for line in diff.splitlines(keepends=True):
Expand Down
File renamed without changes.

0 comments on commit 63a2ee5

Please sign in to comment.