Skip to content

Commit 49eb8d3

Browse files
avargitster
authored andcommitted
Remove contrib/examples/*
There were some side discussions at Git Merge this year about how we should just update the README to tell users they can dig these up from the history if the need them, do that. Looking at the "git log" for this directory we get quite a bit more patch churn than we should here, mainly from things fixing various tree-wide issues. There's also confusion on the list occasionally about how these should be treated, "Re: [PATCH 1/4] stash: convert apply to builtin" (<CA+CzEk9QpmHK_TSBwQfEedNqrcVSBp3xY7bdv1YA_KxePiFeXw@mail.gmail.com>) being the latest example of that. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 90bbd50 commit 49eb8d3

27 files changed

+20
-8137
lines changed

contrib/examples/README

+20-3
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)