User: Password:
|
|
Subscribe / Log in / New account

Vernooij: Bazaar-NG: 7 years of hacking on a distributed version control system

Vernooij: Bazaar-NG: 7 years of hacking on a distributed version control system

Posted Dec 20, 2012 19:59 UTC (Thu) by jengelh (subscriber, #33263)
In reply to: Vernooij: Bazaar-NG: 7 years of hacking on a distributed version control system by tuna
Parent article: Vernooij: Bazaar-NG: 7 years of hacking on a distributed version control system

The other way around. Basically, Git stores complete objects rather than some delta thing. Creating some commit whose diff reads

diff --git a/net/ipv4/netfilter/ipt_ECN.c b/net/ipv4/netfilter/ipt_ECN.c
index 4bf3dc4..5508113 100644
[...]

will get you a .git/objects/55/0811365ac655c3b2d4f9183112e15ad0ae17ba. It is compressed, but it is still standalone/complete/non-deltified. You can nuke all other objects, and git show 550811365 should still succeed.

Deltified packs are a strap-on option (one that's enabled by default because of its usefulness) to the base design.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds