I was wondering if git (at least in theory) would allow for a given file to be composed of multiple blobs.
This would be useful in situations such as:
commit-1: composed of big file F.
commit-2: edit on F, one line in its contents was edited.
If this were to happen, git could break down the original blob of F into 3 blobs, make commit-1 point to those three blobs (let's call them A, B and C) and now make commit-2 point to blobs A, B' and C. This in certain pathological scenarios could potentially save gigas in memory / disk-space.
From my understanding of git trees and blobs, git was not designed in such a way. Am I missing something?
Thanks