Skip to content

Commit cd94dd0

Browse files
committed
Merge branch 'ab/drop-contrib-examples'
* ab/drop-contrib-examples: Remove contrib/examples/*
2 parents 0b0cc9f + 49eb8d3 commit cd94dd0

27 files changed

+20
-8137
lines changed

contrib/examples/README

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1-
These are original scripted implementations, kept primarily for their
2-
reference value to any aspiring plumbing users who want to learn how
3-
pieces can be fit together.
1+
This directory used to contain scripted implementations of builtins
2+
that have since been rewritten in C.
3+
4+
They have now been removed, but can be retrieved from an older commit
5+
that removed them from this directory.
6+
7+
They're interesting for their reference value to any aspiring plumbing
8+
users who want to learn how pieces can be fit together, but in many
9+
cases have drifted enough from the actual implementations Git uses to
10+
be instructive.
11+
12+
Other things that can be useful:
13+
14+
* Some commands such as git-gc wrap other commands, and what they're
15+
doing behind the scenes can be seen by running them under
16+
GIT_TRACE=1
17+
18+
* Doing `git log` on paths matching '*--helper.c' will show
19+
incremental effort in the direction of moving existing shell
20+
scripts to C.

0 commit comments

Comments
 (0)