diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-11-08 17:10:32 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-11-08 22:55:30 +0300 |
commit | cc74a4ac7255510b4a928d4973dcfcc746d74e8f (patch) | |
tree | 668993fea59a062299f1dd71172e0ab71fb9b56c /t/t7400-submodule-basic.sh | |
parent | c03801e19cb8ab36e9c0d17ff3d5e0c3b0f24193 (diff) |
submodule--helper: move "config" to a test-tool
As with other moves to "test-tool" in f322e9f51b5 (Merge branch
'ab/submodule-helper-prep', 2022-09-13) the "config" sub-command was
only used by our own tests.
It was last used by "git submodule" itself in code that went away with
a6226fd772b (submodule--helper: convert the bulk of cmd_add() to C,
2021-08-10).
Let's move it over, and while doing so make it easier to reason about
by splitting up the various uses for it into separate sub-commands, so
that we don't need to count arguments to see what it does.
This also has the advantage that we stop wasting future translator
time on this command, currently the usage information for this
internal-only tool has been translated into several languages. The use
of the "_" function has also been removed from the "please make
sure..." message.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t7400-submodule-basic.sh')
0 files changed, 0 insertions, 0 deletions