> On 4 Feb 2019, at 11:58, Stephane Wirtel <steph...@wirtel.be> wrote: > > Hi all, > > After a git pull, I have seen there is a merge for v3.8.0a1 by Łukasz > Langa, why? I think the code should keep a linear commit and in this > case, it's against the "commit&squash" of CPython and Github :/ > > Thank you for your response.
Tagging a release is different from a regular PR in the sense that you want the commit hash that you tagged as a given version to *remain the same*. In the mean time, other developers can (and will!) merge pull requests. If you were to rebase *the release tag* over their changes, the commit hash wouldn't match anymore. If you were to rebase *their changes* over your release tag, you'd have to force-push to update their changes. This is described in PEP 101. - Ł
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com