[llvm] [docs][GitHub] Document alternative approach to stacked PRs (PR #132424)

Andrzej Warzyński via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 13:29:48 PDT 2025


================
@@ -29,8 +29,23 @@ intended to be able to support "stacked" pull-request. Do not create any branche
 llvm/llvm-project repository otherwise, please use a fork (see below). User branches that
 aren't associated with a pull-request **will be deleted**.
 
+Stacked Pull Requests
+=====================
+
+GitHub does not natively support stacked pull requests. There are two common
+alternatives:
+
+  * Add a note in your PR summary indicating that your patch is part of a
+    series or depends on another PR (e.g., “Depends on #123456”). It also helps
+    to highlight which commits belong to other PRs, so reviewers can focus only
+    on the relevant changes.
+  * Use Graphite (described below), a tool that supports stacked PR workflows.
----------------
banach-space wrote:

I actually don't see any references to SPR 🤔  

I was also expecting to find them here. In fact, I assumed that whenever the section on Graphite was introduced, folks would have removed references to SPR:
* https://github.com/llvm/llvm-project/pull/104499

Not quite what I thought.

https://github.com/llvm/llvm-project/pull/132424


More information about the llvm-commits mailing list