News for hackers. Stuff that matters.
Re:Pijul is a free and open source (GPL2) distributed versio... by 1oooqooq on Wednesday February 21, 2024 @10:10AM (#39454733)
And what is it?

couldn't find on the "doc"... is it all rebases or all merges?

Re:Pijul is a free and open source (GPL2) distributed versio... by vlowther on Wednesday February 21, 2024 @10:42AM (#39455169)
That is a distinction that only exists because a Git repo is an ordered sequence of snapshots of your code that get translated to and from patches for human consumption. As far as I can tell, a Pijul repo is more of a giant dependency graph of patches that when merged together form a consistent snapshot of your code.
Re:Pijul is a free and open source (GPL2) distributed versio... by baq on Wednesday February 21, 2024 @10:23AM (#39454902)
More like merges but actually neither… it can reorder patches, even conflicting ones, it’s a completely foreign concept in git.
Re:Pijul is a free and open source (GPL2) distributed versio... by 1oooqooq on Wednesday February 21, 2024 @10:26AM (#39454951)
sounds like rebase with force push remote. (well, every push is a force push in git. so just rebase+push. ...except on github if you have "protected branches")
Re:Pijul is a free and open source (GPL2) distributed versio... by baq on Wednesday February 21, 2024 @10:38AM (#39455100)
Not really, no; ordering of patches is not something you as a developer should care about. It’s behind the scenes. No force pushes necessary.
Re:Pijul is a free and open source (GPL2) distributed versio... by 1oooqooq on Wednesday February 21, 2024 @04:54PM (#39460121)
thanks. i will have to try it out. but it does sound like "rewriting history" in git et al.
Re:Pijul is a free and open source (GPL2) distributed versio... by baq on Thursday February 22, 2024 @04:19AM (#39464907)
The point is there is no single history in the git sense - there are patches which commute, but their order is... irrelevant (if possible).