#!/bin/sh # Clone BigPipe contrib module into core/modules/big_pipe, remove git history. cd core/modules git clone --branch 8.x-1.x https://git.drupal.org/project/big_pipe.git cd big_pipe rm -rf .git # Remove unwanted files. rm composer.json # Create patch. cd ../../.. git add core/modules/big_pipe git apply -3v big_pipe-contrib-to-core-*-do-not-test.patch git diff --staged > big_pipe-2469431-CID.patch