4 ms·
Much of the early git scripts (e.g. git-pull) have been rewritten in C. Performance is one reason. Helping out win32 (where fork+exec is slow) is another.
by davvid 15y ago
Much of the early git scripts (e.g. git-pull) have been rewritten in C. Performance is one reason. Helping out win32 (where fork+exec is slow) is another.
$ ls -1 git-*.sh | wc -l
25
$ ls -1 git-*.perl | wc -l
9
Compare this to the built-in commands:
$ ls -1 builtin/*.c | wc -l
92
or all the C files:
$ git ls-files '*.c' | wc -l
306