add libresoc-merger script for combining multiple branches
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 27 Sep 2021 16:49:08 +0000 (17:49 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 27 Sep 2021 16:49:08 +0000 (17:49 +0100)
branch_merger.sh [new file with mode: 0644]

diff --git a/branch_merger.sh b/branch_merger.sh
new file mode 100644 (file)
index 0000000..ba4b8f4
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+# first, in this branch, rebase against master.
+git rebase master
+
+# now rebase the "display" branch onto the "fork" branch
+git rebase --onto libresoc-nmigen-fork master display-patch