[llvm] Update GitHub doc to mention that we accepts user branches for Stacked PRs (PR #73774)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 10:05:22 PST 2023


https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/73774

>From 19ca7a75a185bf30dadff048992af582a7b6106a Mon Sep 17 00:00:00 2001
From: Mehdi Amini <joker.eph at gmail.com>
Date: Wed, 29 Nov 2023 02:14:08 -0800
Subject: [PATCH 1/2] Update GitHub doc to mention that we accepts user
 branches for Stacked PR.

This isn't yet a guide on how to do stacked PRs.
---
 llvm/docs/GitHub.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/llvm/docs/GitHub.rst b/llvm/docs/GitHub.rst
index 67fea9520aab6de..a89a4d955fc08b2 100644
--- a/llvm/docs/GitHub.rst
+++ b/llvm/docs/GitHub.rst
@@ -17,10 +17,11 @@ participate in the project using GitHub.
 
 Branches
 ========
-Do not create any branches in the llvm/llvm-project repository.  This repository
-is reserved for official project branches only.  We may relax this rule in
-the future if needed to support "stacked" pull request, but in that case only
-branches being used for "stacked" pull requests will be allowed.
+
+It is possible to create branches that starts with `users/<username>/`, however this is
+intended to be able to support "stacked" pull-request. Do not create any branches in the
+llvm/llvm-project repository otherwise, please use a fork (see below). User branches that
+aren't associated with a pull-request **will be deleted**.
 
 Pull Requests
 =============

>From 81454d2011d32c186bb2859cbfcc5e438ee7a70a Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at gmail.com>
Date: Wed, 29 Nov 2023 10:05:12 -0800
Subject: [PATCH 2/2] Remove extra line

---
 llvm/docs/GitHub.rst | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/docs/GitHub.rst b/llvm/docs/GitHub.rst
index a89a4d955fc08b2..682db2ac88c6a7b 100644
--- a/llvm/docs/GitHub.rst
+++ b/llvm/docs/GitHub.rst
@@ -17,7 +17,6 @@ participate in the project using GitHub.
 
 Branches
 ========
-
 It is possible to create branches that starts with `users/<username>/`, however this is
 intended to be able to support "stacked" pull-request. Do not create any branches in the
 llvm/llvm-project repository otherwise, please use a fork (see below). User branches that



More information about the llvm-commits mailing list