News for hackers. Stuff that matters.
Re:What’s wrong with Git? A conceptual design analysis (2016) by dijit on Tuesday April 27, 2021 @07:12PM (#26963205)
Really not defending perforce, but "branches" are not how you usually work, a branch is basically a fork of the repo, it's almost impossible to reconcile.

"Branches", the way we use them in git are more like perforce Shelved CLs.

Re:What’s wrong with Git? A conceptual design analysis (2016) by Jochim on Tuesday April 27, 2021 @07:53PM (#26963643)
It's worth pointing out that shelved changes don't have any history though, so cross your fingers to make sure you don't accidentally delete/overwrite something.

Fwiw the only major issue I've had with branching is the fact its a full fat copy of your source which can end up taking up a load of space depending on how large your application is post build and how many binaries you dump into perforce.

They seem to be pushing towards "streams" now, but I've heard they make it easier to create development branches but haven't worked with them to find out.

Re:What’s wrong with Git? A conceptual design analysis (2016) by icedchai on Tuesday April 27, 2021 @07:19PM (#26963291)
Yes, I remember using "shelves" a lot. The branch was created for a major refactor of the code base, and the team I was on moved to that branch. Not sure what happened to it. I hated that company and left after a few months.
Re:What’s wrong with Git? A conceptual design analysis (2016) by koenigdavidmj on Tuesday April 27, 2021 @10:35PM (#26964824)
I wonder if it’s a workplace I worked at. We ended up having a bunch of generic branch names (one org had colors, another had star-related things), and when a project was done, they just used that branch for something else.
Re:What’s wrong with Git? A conceptual design analysis (2016) by jayd16 on Tuesday April 27, 2021 @08:01PM (#26963723)
Nah, shelves have no history. They're more like a patch. P4 streams are the closest to git branches.