Fossil: Fossil Versus Git

https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki

1 points · 6 comments · view on lemmy.world

6 Comments

lysdexic@programming.dev · 9 pts · 2y

A more apt description would be "Fossil Versus Git, according to Fossil."

sim642@lemm.ee · 6 pts · 2y (4 replies)

One check-out per repository vs Many check-outs per repository

Git has worktrees...

Commit first vs Test first

What?

Lucky@programming.dev · 1 pts · 2y (3 replies)

They provide a link to the section where they elaborate on "commit first vs test first", here is the relevant text

Instead of jumping straight to the commit step, Fossil applies the proposed merge to the local working directory only, requiring a separate check-in step before the change is committed to the repository. This gives you a chance to test the change first, either manually or by running your software's automatic tests. (Ideally, both!) Thus, Fossil doesn't need rebase, squashing, reset --hard, or other Git commit mutating mechanisms

Sigmatics@lemmy.ca · 3 pts · 2y (2 replies)

Git has pre-commit hooks?

sim642@lemm.ee · 2 pts · 2y

And git merge --no-commit to do whatever you want on the proposed merge before actually creating the commit. Test or whatever else.

natecox@programming.dev · 2 pts · 2y
[ removed ]
lyda@programming.dev · 1 pts · 2y

I love that fossil exists. I would never use it, but I'm glad cranks have something to work on.