this post was submitted on 13 Nov 2023
22 points (95.8% liked)

Programming

17412 readers
76 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

Every code forge supporting only git just further enforces git’s monopoly on the VCS space

So what? You speak about git as if it were some half-proprietary solution aimed at maximizing corporate profit. Git isn't Chrome.

Git isn’t perfect, nor should be treated as perfect.

Yes, and because of that fact it has been evolving over the years.

VCS’s are still being itterated on and tooling being super git centric hurts that.

What I see is some resentful people about git - in the same way that happened with SVN and oh well git is objectively better than that.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

It being objectively better then SVN or CVS doesn't mean that it's the best we can do. Git has all sorts of non-ideal behaviors that other VCS's don't. Pijul's data structure for instance is inherently different from git and it can't be retrofitted on top. Making tooling only support git effectively kills off any potential competitors that could be superior to git.

One example is pijul specifically let's you get away from the idea that moving commits between branches changes their identity, because pijul builds a tree of diffs. If two subtrees of diffs are distinct, they can always be applied without changing identity of those diffs. This means "cherry picking" a commit and then merging a commit doesn't effectively merge that commit twice resulting in a merge conflict.

That's one example how one VCS can be better.

[–] [email protected] 0 points 1 year ago (1 children)

That’s one example how one VCS can be better.

What if we just upgrade git to have those features instead of reinventing the wheel?

[–] [email protected] 1 points 1 year ago

The data model there is fundamentally different. That would break how git would work because operations that worked one way before would now no longer work that way. You'd functionally have rewritten and mapped all the old functionality to new functionality with subtle differences, but at that point is it even git? You have a wrapper with similar but subtly different commands and that's it. It's like saying "instead of reinventing functionality by building both ext4 and btrfs, why don't we just improve ext4"?

The two are practically entirely different.