News for hackers. Stuff that matters.
Re:Why SQLite Does Not Use Git by friend-monoid on Wednesday April 11, 2018 @11:56AM (#16812394)
Hrm, but a ref is a file containing a hash, right? So if the hash is equivalent to the file, the surely a ref is equivalent to a symlink? A symbolic ref, in turn, should be a symlink to a symlink... Or something like that...
Re:Why SQLite Does Not Use Git by y4mi on Wednesday April 11, 2018 @01:43PM (#16813526)
A ref points to an object. That object doesn't change unless the hashing algo was tricked.

A branch points to anything you want it to point to. It can be any ref you want and can be changed at will.

Re:Why SQLite Does Not Use Git by friend-monoid on Wednesday April 11, 2018 @05:42PM (#16816017)
sha1 - object (e.g. 5a480efb...) file with sha1 - ref (e.g. master) file with ref - symbolic ref (e.g. HEAD)

right? Seeing as you can git update-ref branches, but you need to git symbolic-ref HEAD.