Skip to content

[llvm][docs] Reorder Stacked PR approaches in GitHub.rst #138126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paschalis-mpeis
Copy link
Member

The 'user branches' approach now appears before the 'dependency note' approach, as it makes reviewing easier.

Add notes on requiring commit access for the former and on the disadvantage of the latter.

The 'user branches' approach now appears before the 'dependency note'
approach, as it makes reviewing easier.

Add notes on requiring commit access for the former and on
the disadvantage of the latter.
note in the PR summary indicating that it depends on PR_1 (e.g.,
“Depends on #PR_1”).

The disadvantage of this approach is that GitHub will not show a clean diff.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note the note below:

When not using user branches, GitHub will not display proper diffs for
subsequent PRs in a stack. Instead, it will show a combined diff that
includes all commits from earlier PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants