contrib: remove "examples" directory

The "examples" directory used to contain scripted versions of some of our builtins. These have all been removed in 49eb8d39c78 (Remove contrib/examples/*, 2018-03-25), but we left a note in the directory to make it discoverable that there used to be examples. It is unlikely that anybody still looks at these examples more than 7 years after they have been removed. Remove the note and its directory. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Patrick Steinhardt committed May 12, 2025 at 11:19 UTC 6672b90ecec88f9f68532839731983a9bad0f260
1 file changed -20
contrib/examples/README deleted
-20
@@ -1,20 +0,0 @@
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.