4 ms·
Isn't this how Git was originally done?
by Koshkin 7y ago
Isn't this how Git was originally done?
- chrchr 7y agoYou might be thinking of a different DVCS called Arch, which was initially implemented as a set of shell scripts: https://en.wikipedia.org/wiki/GNU_arch https://en.wikipedia.org/wiki/GNU_arch
- cesarb 7y agoNo, git was originally done in C: https://git.kernel.org/pub/scm/git/git.git/commit/?id=e83c5163316f89bfbde7d9ab23ca2e25604af290 https://git.kernel.org/pub/scm/git/git.git/commit/?id=e83c51...
- raphlinus 7y agoIt's slightly more complicated than that. The `git` command line itself was done in shell. Initially, `git foo` just ran `git-foo-script`, and then those were also written in shell. But the actual sha1 and packfile stuff was always in C from the beginning. Source: https://git.kernel.org/pub/scm/git/git.git/commit/git?h=v0.99&id=e764b8e8b3c50b131be825532ba26fa346d6586e https://git.kernel.org/pub/scm/git/git.git/commit/git?h=v0.9...