|
|
|
|
|
by phaemon
4575 days ago
|
|
You don't actually know how git implements it, so how can you disagree with it? There is no such thing as "an edited version" of a commit. A commit is identified by a SHA1 hash of its index of contents. If you change one bit you get a new commit. You're a C programmer, right? If someone gave you a specification for writing a program to implement git, without telling your what it was, you'd tell them it would take 2 weeks. And that's because you'd reckon it would take 2 hours to knock out a rough version and a couple of days to clean it up. Seriously, it's that simple. Just go learn how it works. |
|