]> git.ipfire.org Git - thirdparty/git.git/commitdiff
contrib: remove "examples" directory
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 May 2025 09:19:52 +0000 (11:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 17:55:43 +0000 (10:55 -0700)
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>
contrib/examples/README [deleted file]

diff --git a/contrib/examples/README b/contrib/examples/README
deleted file mode 100644 (file)
index 18bc60b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-This directory used to contain scripted implementations of builtins
-that have since been rewritten in C.
-
-They have now been removed, but can be retrieved from an older commit
-that removed them from this directory.
-
-They're interesting for their reference value to any aspiring plumbing
-users who want to learn how pieces can be fit together, but in many
-cases have drifted enough from the actual implementations Git uses to
-be instructive.
-
-Other things that can be useful:
-
- * Some commands such as git-gc wrap other commands, and what they're
-   doing behind the scenes can be seen by running them under
-   GIT_TRACE=1
-
- * Doing `git log` on paths matching '*--helper.c' will show
-   incremental effort in the direction of moving existing shell
-   scripts to C.