News for hackers. Stuff that matters.
Re:In a Git repository, where do your files live? by eru on Thursday September 14, 2023 @09:33PM (#37517108)
> It's designed the way it is to achieve that goal while minimizing the space used, yet keeping an entire history of the project

Most of git's design was done before they thought of 'minimizing the space used'. Originally, they didn't even do deltas and just stored complete snapshots for every object.

> Merge conflicts are hard in this model because you're trying to put two snapshots together, not just two diffs.

I don't think that's the case at all. Thanks to three-way-merges git has just as much access to the diffs as any other version control system when merging. It's just that in git diffs are a derived data structure, not a source of truth, but that doesn't make a difference.

Re:In a Git repository, where do your files live? by hooper on Friday September 15, 2023 @02:18AM (#37519178)
One of the ideas behind Pijul is that implicit vs explicit diffs does make an important difference sometimes: https://pijul.org/manual/why_pijul.html
Re:In a Git repository, where do your files live? by IlliOnato on Friday September 15, 2023 @06:48PM (#37530015)
I am very interested in Pijul, but the development seems to be slow. Has it reached the point where it can be used in production? (Serious question)
Re:In a Git repository, where do your files live? by hooper on Friday September 15, 2023 @09:50PM (#37531225)
I get the feeling that depends on who you ask at this point, but there has apparently been some recent development of the hosting platform (https://nest.pijul.com/). I don't know if it can have as good of a Git interoperability story as, say, jj.
Re:In a Git repository, where do your files live? by IlliOnato on Saturday September 16, 2023 @01:58PM (#37537037)
I am not interested that much in interoperability with Git. But I am afraid of data corruption, crashes, etc. Also, Pijul used to have severe performance problems in some situations. I would call it ready for production if it is stable and performant.
Re:In a Git repository, where do your files live? by eru on Sunday September 17, 2023 @08:44PM (#37550912)
Git interoperability can help with that: if you have an on-disk data format that's either compatible with git, or can easily be converted to git, you can keep your backups in git format, and work from them with git if something goes wrong.