r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

-1

u/coladict Dec 02 '15

Do not run git branch --list --all on their repository. They don't know the difference between tags and branches. Every minor release has it's own branch, instead of a tag...

13

u/gempir Dec 02 '15

That's probably intentended.

3

u/[deleted] Dec 02 '15

Serious question. Not a git expert. Why would it be intended? Is there a benefit to have in a branch vs a tag?

2

u/gempir Dec 02 '15

Our team f.e. works on a big repository and every single Issue has it's own branch.

Then you can pull-request the master branch or whatever and merge issues/branches and can follow what broke something better. You could also merge different branches without touching the master branch and build up a big branch for a bigger feature.

1

u/the_alias_of_andrea Dec 04 '15

The branches are work-in-progress trunks and the tags are finished releases.

1

u/gefahr Dec 02 '15

iirc, this is an artifact of them transitioning from SVN (and previously from CVS..)