Skip to content

Commit 8a78e4d

Browse files
committed
Merge branch 'js/pu-to-seen'
The documentation and some tests have been adjusted for the recent renaming of "pu" branch to "seen". * js/pu-to-seen: tests: reference `seen` wherever `pu` was referenced docs: adjust the technical overview for the rename `pu` -> `seen` docs: adjust for the recent rename of `pu` to `seen`
2 parents 0258ed1 + 6dca5db commit 8a78e4d

14 files changed

+102
-102
lines changed

Documentation/MyFirstContribution.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,8 +1179,8 @@ look at the section below this one for some context.)
11791179
[[after-approval]]
11801180
=== After Review Approval
11811181

1182-
The Git project has four integration branches: `pu`, `next`, `master`, and
1183-
`maint`. Your change will be placed into `pu` fairly early on by the maintainer
1182+
The Git project has four integration branches: `seen`, `next`, `master`, and
1183+
`maint`. Your change will be placed into `seen` fairly early on by the maintainer
11841184
while it is still in the review process; from there, when it is ready for wider
11851185
testing, it will be merged into `next`. Plenty of early testers use `next` and
11861186
may report issues. Eventually, changes in `next` will make it to `master`,

Documentation/SubmittingPatches

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ change is relevant to.
1919
base your work on the tip of the topic.
2020

2121
* A new feature should be based on `master` in general. If the new
22-
feature depends on a topic that is in `pu`, but not in `master`,
22+
feature depends on a topic that is in `seen`, but not in `master`,
2323
base your work on the tip of that topic.
2424

2525
* Corrections and enhancements to a topic not yet in `master` should
@@ -28,7 +28,7 @@ change is relevant to.
2828
into the series.
2929

3030
* In the exceptional case that a new feature depends on several topics
31-
not in `master`, start working on `next` or `pu` privately and send
31+
not in `master`, start working on `next` or `seen` privately and send
3232
out patches for discussion. Before the final merge, you may have to
3333
wait until some of the dependent topics graduate to `master`, and
3434
rebase your work.
@@ -38,7 +38,7 @@ change is relevant to.
3838
these parts should be based on their trees.
3939

4040
To find the tip of a topic branch, run `git log --first-parent
41-
master..pu` and look for the merge commit. The second parent of this
41+
master..seen` and look for the merge commit. The second parent of this
4242
commit is the tip of the topic branch.
4343

4444
[[separate-commits]]
@@ -424,7 +424,7 @@ help you find out who they are.
424424
and cooked further and eventually graduates to `master`.
425425

426426
In any time between the (2)-(3) cycle, the maintainer may pick it up
427-
from the list and queue it to `pu`, in order to make it easier for
427+
from the list and queue it to `seen`, in order to make it easier for
428428
people play with it without having to pick up and apply the patch to
429429
their trees themselves.
430430

@@ -435,7 +435,7 @@ their trees themselves.
435435
master. `git pull --rebase` will automatically skip already-applied
436436
patches, and will let you know. This works only if you rebase on top
437437
of the branch in which your patch has been merged (i.e. it will not
438-
tell you if your patch is merged in pu if you rebase on top of
438+
tell you if your patch is merged in `seen` if you rebase on top of
439439
master).
440440

441441
* Read the Git mailing list, the maintainer regularly posts messages

Documentation/git-fetch.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,14 @@ refspec.
255255
* Using refspecs explicitly:
256256
+
257257
------------------------------------------------
258-
$ git fetch origin +pu:pu maint:tmp
258+
$ git fetch origin +seen:seen maint:tmp
259259
------------------------------------------------
260260
+
261-
This updates (or creates, as necessary) branches `pu` and `tmp` in
261+
This updates (or creates, as necessary) branches `seen` and `tmp` in
262262
the local repository by fetching from the branches (respectively)
263-
`pu` and `maint` from the remote repository.
263+
`seen` and `maint` from the remote repository.
264264
+
265-
The `pu` branch will be updated even if it does not fast-forward,
265+
The `seen` branch will be updated even if it does not fast-forward,
266266
because it is prefixed with a plus sign; `tmp` will not be.
267267

268268
* Peek at a remote's branch, without configuring the remote in your local

Documentation/git-ls-remote.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
101101
7ceca275d047c90c0c7d5afb13ab97efdf51bd6e refs/tags/v0.99.3
102102
c5db5456ae3b0873fc659c19fafdde22313cc441 refs/tags/v0.99.2
103103
0918385dbd9656cab0d1d81ba7453d49bbc16250 refs/tags/junio-gpg-pub
104-
$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master pu rc
104+
$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc
105105
5fe978a5381f1fbad26a80e682ddd2a401966740 refs/heads/master
106-
c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/pu
106+
c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen
107107
$ git remote add korg http://www.kernel.org/pub/scm/git/git.git
108108
$ git ls-remote --tags korg v\*
109109
d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99

Documentation/giteveryday.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,13 @@ $ git am -3 -i -s ./+to-apply <4>
278278
$ compile/test
279279
$ git switch -c hold/linus && git am -3 -i -s ./+hold-linus <5>
280280
$ git switch topic/one && git rebase master <6>
281-
$ git switch -C pu next <7>
281+
$ git switch -C seen next <7>
282282
$ git merge topic/one topic/two && git merge hold/linus <8>
283283
$ git switch maint
284284
$ git cherry-pick master~4 <9>
285285
$ compile/test
286286
$ git tag -s -m "GIT 0.99.9x" v0.99.9x <10>
287-
$ git fetch ko && for branch in master maint next pu <11>
287+
$ git fetch ko && for branch in master maint next seen <11>
288288
do
289289
git show-branch ko/$branch $branch <12>
290290
done
@@ -294,14 +294,14 @@ $ git push --follow-tags ko <13>
294294
<1> see what you were in the middle of doing, if anything.
295295
<2> see which branches haven't been merged into `master` yet.
296296
Likewise for any other integration branches e.g. `maint`, `next`
297-
and `pu` (potential updates).
297+
and `seen`.
298298
<3> read mails, save ones that are applicable, and save others
299299
that are not quite ready (other mail readers are available).
300300
<4> apply them, interactively, with your sign-offs.
301301
<5> create topic branch as needed and apply, again with sign-offs.
302302
<6> rebase internal topic branch that has not been merged to the
303303
master or exposed as a part of a stable branch.
304-
<7> restart `pu` every time from the next.
304+
<7> restart `seen` every time from the next.
305305
<8> and bundle topic branches still cooking.
306306
<9> backport a critical fix.
307307
<10> create a signed tag.
@@ -323,7 +323,7 @@ repository at kernel.org, and looks like this:
323323
fetch = refs/heads/*:refs/remotes/ko/*
324324
push = refs/heads/master
325325
push = refs/heads/next
326-
push = +refs/heads/pu
326+
push = +refs/heads/seen
327327
push = refs/heads/maint
328328
------------
329329

Documentation/gitworkflows.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ As a given feature goes from experimental to stable, it also
8585

8686
There is a fourth official branch that is used slightly differently:
8787

88-
* 'pu' (proposed updates) is an integration branch for things that are
89-
not quite ready for inclusion yet (see "Integration Branches"
90-
below).
88+
* 'seen' (patches seen by the maintainer) is an integration branch for
89+
things that are not quite ready for inclusion yet (see "Integration
90+
Branches" below).
9191

9292
Each of the four branches is usually a direct descendant of the one
9393
above it.
9494

9595
Conceptually, the feature enters at an unstable branch (usually 'next'
96-
or 'pu'), and "graduates" to 'master' for the next release once it is
96+
or 'seen'), and "graduates" to 'master' for the next release once it is
9797
considered stable enough.
9898

9999

@@ -207,7 +207,7 @@ If you make it (very) clear that this branch is going to be deleted
207207
right after the testing, you can even publish this branch, for example
208208
to give the testers a chance to work with it, or other developers a
209209
chance to see if their in-progress work will be compatible. `git.git`
210-
has such an official throw-away integration branch called 'pu'.
210+
has such an official throw-away integration branch called 'seen'.
211211

212212

213213
Branch management for a release
@@ -291,7 +291,7 @@ This will not happen if the content of the branches was verified as
291291
described in the previous section.
292292

293293

294-
Branch management for next and pu after a feature release
294+
Branch management for next and seen after a feature release
295295
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296296

297297
After a feature release, the integration branch 'next' may optionally be
@@ -319,8 +319,8 @@ so.
319319
If you do this, then you should make a public announcement indicating
320320
that 'next' was rewound and rebuilt.
321321

322-
The same rewind and rebuild process may be followed for 'pu'. A public
323-
announcement is not necessary since 'pu' is a throw-away branch, as
322+
The same rewind and rebuild process may be followed for 'seen'. A public
323+
announcement is not necessary since 'seen' is a throw-away branch, as
324324
described above.
325325

326326

Documentation/howto/maintain-git.txt

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ this mailing list after each feature release is made.
6666
demonstrated to be regression free. New changes are tested
6767
in 'next' before merged to 'master'.
6868

69-
- 'pu' branch is used to publish other proposed changes that do
69+
- 'seen' branch is used to publish other proposed changes that do
7070
not yet pass the criteria set for 'next'.
7171

7272
- The tips of 'master' and 'maint' branches will not be rewound to
@@ -76,7 +76,7 @@ this mailing list after each feature release is made.
7676
of the cycle.
7777

7878
- Usually 'master' contains all of 'maint' and 'next' contains all
79-
of 'master'. 'pu' contains all the topics merged to 'next', but
79+
of 'master'. 'seen' contains all the topics merged to 'next', but
8080
is rebuilt directly on 'master'.
8181

8282
- The tip of 'master' is meant to be more stable than any
@@ -229,12 +229,12 @@ by doing the following:
229229
series?)
230230

231231
- Prepare 'jch' branch, which is used to represent somewhere
232-
between 'master' and 'pu' and often is slightly ahead of 'next'.
232+
between 'master' and 'seen' and often is slightly ahead of 'next'.
233233

234-
$ Meta/Reintegrate master..pu >Meta/redo-jch.sh
234+
$ Meta/Reintegrate master..seen >Meta/redo-jch.sh
235235

236236
The result is a script that lists topics to be merged in order to
237-
rebuild 'pu' as the input to Meta/Reintegrate script. Remove
237+
rebuild 'seen' as the input to Meta/Reintegrate script. Remove
238238
later topics that should not be in 'jch' yet. Add a line that
239239
consists of '### match next' before the name of the first topic
240240
in the output that should be in 'jch' but not in 'next' yet.
@@ -291,29 +291,29 @@ by doing the following:
291291
merged to 'master'. This may lose '### match next' marker;
292292
add it again to the appropriate place when it happens.
293293

294-
- Rebuild 'pu'.
294+
- Rebuild 'seen'.
295295

296-
$ Meta/Reintegrate master..pu >Meta/redo-pu.sh
296+
$ Meta/Reintegrate master..seen >Meta/redo-seen.sh
297297

298-
Edit the result by adding new topics that are not still in 'pu'
298+
Edit the result by adding new topics that are not still in 'seen'
299299
in the script. Then
300300

301-
$ git checkout -B pu jch
302-
$ sh Meta/redo-pu.sh
301+
$ git checkout -B seen jch
302+
$ sh Meta/redo-seen.sh
303303

304-
When all is well, clean up the redo-pu.sh script with
304+
When all is well, clean up the redo-seen.sh script with
305305

306-
$ sh Meta/redo-pu.sh -u
306+
$ sh Meta/redo-seen.sh -u
307307

308308
Double check by running
309309

310-
$ git branch --no-merged pu
310+
$ git branch --no-merged seen
311311

312312
to see there is no unexpected leftover topics.
313313

314314
At this point, build-test the result for semantic conflicts, and
315315
if there are, prepare an appropriate merge-fix first (see
316-
appendix), and rebuild the 'pu' branch from scratch, starting at
316+
appendix), and rebuild the 'seen' branch from scratch, starting at
317317
the tip of 'jch'.
318318

319319
- Update "What's cooking" message to review the updates to
@@ -323,14 +323,14 @@ by doing the following:
323323

324324
$ Meta/cook
325325

326-
This script inspects the history between master..pu, finds tips
326+
This script inspects the history between master..seen, finds tips
327327
of topic branches, compares what it found with the current
328328
contents in Meta/whats-cooking.txt, and updates that file.
329-
Topics not listed in the file but are found in master..pu are
329+
Topics not listed in the file but are found in master..seen are
330330
added to the "New topics" section, topics listed in the file that
331-
are no longer found in master..pu are moved to the "Graduated to
331+
are no longer found in master..seen are moved to the "Graduated to
332332
master" section, and topics whose commits changed their states
333-
(e.g. used to be only in 'pu', now merged to 'next') are updated
333+
(e.g. used to be only in 'seen', now merged to 'next') are updated
334334
with change markers "<<" and ">>".
335335

336336
Look for lines enclosed in "<<" and ">>"; they hold contents from
@@ -360,7 +360,7 @@ Observations
360360
Some observations to be made.
361361

362362
* Each topic is tested individually, and also together with other
363-
topics cooking first in 'pu', then in 'jch' and then in 'next'.
363+
topics cooking first in 'seen', then in 'jch' and then in 'next'.
364364
Until it matures, no part of it is merged to 'master'.
365365

366366
* A topic already in 'next' can get fixes while still in
@@ -411,7 +411,7 @@ new use of the variable under its old name. When these two topics
411411
are merged together, the reference to the variable newly added by
412412
the latter topic will still use the old name in the result.
413413

414-
The Meta/Reintegrate script that is used by redo-jch and redo-pu
414+
The Meta/Reintegrate script that is used by redo-jch and redo-seen
415415
scripts implements a crude but usable way to work this issue around.
416416
When the script merges branch $X, it checks if "refs/merge-fix/$X"
417417
exists, and if so, the effect of it is squashed into the result of
@@ -431,14 +431,14 @@ commit that can be squashed into a result of mechanical merge to
431431
correct semantic conflicts.
432432

433433
After finding that the result of merging branch "ai/topic" to an
434-
integration branch had such a semantic conflict, say pu~4, check the
434+
integration branch had such a semantic conflict, say seen~4, check the
435435
problematic merge out on a detached HEAD, edit the working tree to
436436
fix the semantic conflict, and make a separate commit to record the
437437
fix-up:
438438

439-
$ git checkout pu~4
439+
$ git checkout seen~4
440440
$ git show -s --pretty=%s ;# double check
441-
Merge branch 'ai/topic' to pu
441+
Merge branch 'ai/topic' to seen
442442
$ edit
443443
$ git commit -m 'merge-fix/ai/topic' -a
444444

@@ -450,9 +450,9 @@ result:
450450
Then double check the result by asking Meta/Reintegrate to redo the
451451
merge:
452452

453-
$ git checkout pu~5 ;# the parent of the problem merge
453+
$ git checkout seen~5 ;# the parent of the problem merge
454454
$ echo ai/topic | Meta/Reintegrate
455-
$ git diff pu~4
455+
$ git diff seen~4
456456

457457
This time, because you prepared refs/merge-fix/ai/topic, the
458458
resulting merge should have been tweaked to include the fix for the
@@ -464,7 +464,7 @@ branch needs this merge-fix is because another branch merged earlier
464464
to the integration branch changed the underlying assumption ai/topic
465465
branch made (e.g. ai/topic branch added a site to refer to a
466466
variable, while the other branch renamed that variable and adjusted
467-
existing use sites), and if you changed redo-jch (or redo-pu) script
467+
existing use sites), and if you changed redo-jch (or redo-seen) script
468468
to merge ai/topic branch before the other branch, then the above
469469
merge-fix should not be applied while merging ai/topic, but should
470470
instead be applied while merging the other branch. You would need

0 commit comments

Comments
 (0)