libchromiumcontent/script
Samuel Attard 392a5c0985 perf: commit our patches in batches instead of 1 by 1 2018-08-21 11:56:03 -07:00
..
lib perf: commit our patches in batches instead of 1 by 1 2018-08-21 11:56:03 -07:00
README.md Add README.md for the scripts 2018-05-25 17:16:16 +02:00
apply-patches build: add optional --project-root arg for the patching related scripts (#653) 2018-08-16 14:11:33 -07:00
bootstrap
build Merge pull request #535 from electron/disable-mksnapshot-build-all 2018-05-09 10:37:49 -04:00
build-clang.py
cibuild Fix package source error 2018-06-11 11:07:28 +02:00
cibuild-libchromiumcontent-linux
cibuild-libchromiumcontent-linux-arm
cibuild-libchromiumcontent-linux-arm64
cibuild-libchromiumcontent-linux-ia32
cibuild-libchromiumcontent-linux-mips64el
cibuild-libchromiumcontent-linux-x64
cibuild.ps1 Update run_tests to generate xml reports for CI (#530) 2018-05-01 14:29:56 -05:00
create-dist build:[gyp] ship //net:extras for component build (#651) 2018-08-15 08:43:37 -07:00
disabled-tests.yaml Update disabled tests (#527) 2018-04-22 09:28:37 -07:00
docker-install-build-deps.sh
download Fix static download 2018-07-16 12:36:59 -04:00
get-patch Add options to save patch contents to a file to the "get-patch" script 2018-05-25 17:15:44 +02:00
package-clang.py
patch.py build: add optional --project-root arg for the patching related scripts (#653) 2018-08-16 14:11:33 -07:00
run-gn Only show download stats when verbose is used. 2018-07-13 13:40:31 -04:00
run_tests Update run_tests to generate xml reports for CI (#530) 2018-05-01 14:29:56 -05:00
sccache Refactor script/sccache 2018-07-27 13:50:11 -07:00
update Only show download stats when verbose is used. 2018-07-13 13:40:31 -04:00
upload Use packaged chromium source for CI 2018-05-09 12:30:06 -04:00

README.md

get-patch

Use it to save commits from upstream repositories as patch files.

Examples

  1. Write commit contents in the patch format to stdout.
$ ./script/get-patch --repo src --commit 8e8216e5
  1. Create a patch file with a default name if a specified directory.
$ ./script/get-patch --repo src --commit 8e8216e5 --output_dir patches
  1. Create a patch file with a custom name in the current directory.
$ ./script/get-patch --repo src --commit 8e8216e5 --filename my.patch
  1. Create a patch file with a custom name in a specified directory.
$ ./script/get-patch --repo src --commit 8e8216e5 --output_dir patches --filename my.patch
  1. Create patch files with default names in a specified directory.
$ ./script/get-patch --repo src --output_dir patches --commit 8e8216e5 164c37e3
  1. Create patch files with custom names in a specified directory. Note that number of filenames must match the number of commits.
$ ./script/get-patch --repo src --output_dir patches --commit 8e8216e5 164c37e3 --filename first.patch second.patch