Skip to content

Commit 828197d

Browse files
dschogitster
authored andcommitted
docs: adjust for the recent rename of pu to seen
As of "What's cooking in git.git (Jun 2020, #4; Mon, 22)", there is no longer any `pu` branch, but a `seen` branch. While we technically do not even need to update the manual pages, it makes sense to update them because they clearly talk about branches in git.git. Please note that in two instances, this patch not only updates the branch name, but also the description "(proposed updates)". Where appropriate, quotes have been added for readability. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af6b65d commit 828197d

7 files changed

+27
-27
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
@@ -18,7 +18,7 @@ change is relevant to.
1818
base your work on the tip of the topic.
1919

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

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

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

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

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

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

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

440440
* 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/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ $ git branch -r
347347
origin/man
348348
origin/master
349349
origin/next
350-
origin/pu
350+
origin/seen
351351
origin/todo
352352
------------------------------------------------
353353

0 commit comments

Comments
 (0)