vadishev | 3 years ago | on: Show HN: Get rid of Git submodules and never look back (now for GitHub users)
vadishev's comments
vadishev | 5 years ago | on: What comes after Git?
vadishev | 5 years ago | on: What comes after Git?
vadishev | 5 years ago | on: What comes after Git?
I'd rather believe that submodules are fixed at some point or an alternative solution appears that works much better. Git subtree is around for a while and there's also Git X-Modules https://gitmodules.com which is modules on the Git server.
vadishev | 13 years ago | on: Git is 42 times more space efficient than SVN
Obviously, SVN and Git have different delta-compression techniques. For a given SRC and DST files, Git's algorithm puts COPY instruction from any position at SRC file. Subversion however restricts COPY instructions to be sequential, i.e. the consumer of generated instruction stream doesn't perform random reads at SRC in order to produce DST.
For the sake of simplicity, let SRC='aabc' and DST='aaxyaa':
Git instruction stream:
COPY 'aa'
INSERT 'xy'
COPY 'aa'
SVN instruction stream: COPY 'aa'
INSERT 'xyaa'
As result delta-encoded DST file is more compact in Git repository than in Subversion. What are the drawbacks of Git's approach? Good exercise for the reader.