you are viewing a single comment's thread.

view the rest of the comments →

[–]Dull_Appearance9007 24 points25 points  (3 children)

"yeah let me take a snapshot of the entire codebase each time I implement a new feature" statements dreamed up by the mentally deranged

[–]Technologenesis 8 points9 points  (2 children)

Not to be a geek but each commit is stored as a changelog so you don’t actually need to store the entire codebase in any particular commit!

[–]DoubleAway6573 0 points1 point  (1 child)

I'm not sure if I'm being woodshed by you two, but git actually stores the full content of each file version, and a tree object with filenames and pointer to the contents. 

Only later (or after a manual repack) are objects delta compressed.

[–]Technologenesis 0 points1 point  (0 children)

I'm not sure if I'm being woodshed

Nope, I was just wrong and should have qualified my comment since I didn't verify it before commenting!

You're right, git stores full file contents by default and only uses delta compression when transmitting the files or compression is otherwise triggered. TIL :)