Skip to content

Commit 5afb2ce

Browse files
dschogitster
authored andcommitted
remote-testgit: move it into the support directory for t5801
The `git-remote-testgit` script is really only used in `t5801-remote-helpers.sh`. It does not even contain any `@@<MAGIC>@@` placeholders that would need to be interpolated via `make git-remote-testgit`. Let's just move it to a new home, decluttering the top-level directory and clarifying that this is just a test helper, not an official Git command that we would want to ever support. Suggested by Ævar Arnfjörð Bjarmason. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5ee4246 commit 5afb2ce

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@
135135
/git-remote-ftps
136136
/git-remote-fd
137137
/git-remote-ext
138-
/git-remote-testgit
139138
/git-remote-testpy
140139
/git-remote-testsvn
141140
/git-repack

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,6 @@ SCRIPT_SH += git-merge-resolve.sh
633633
SCRIPT_SH += git-mergetool.sh
634634
SCRIPT_SH += git-quiltimport.sh
635635
SCRIPT_SH += git-legacy-rebase.sh
636-
SCRIPT_SH += git-remote-testgit.sh
637636
SCRIPT_SH += git-request-pull.sh
638637
SCRIPT_SH += git-stash.sh
639638
SCRIPT_SH += git-submodule.sh
@@ -657,8 +656,6 @@ SCRIPT_PERL += git-svn.perl
657656

658657
SCRIPT_PYTHON += git-p4.py
659658

660-
NO_INSTALL += git-remote-testgit
661-
662659
# Generated files for scripts
663660
SCRIPT_SH_GEN = $(patsubst %.sh,%,$(SCRIPT_SH))
664661
SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL))

t/t5801-remote-helpers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ test_description='Test remote-helper import and export commands'
88
. ./test-lib.sh
99
. "$TEST_DIRECTORY"/lib-gpg.sh
1010

11+
PATH="$TEST_DIRECTORY/t5801:$PATH"
12+
1113
compare_refs() {
1214
git --git-dir="$1/.git" rev-parse --verify $2 >expect &&
1315
git --git-dir="$3/.git" rev-parse --verify $4 >actual &&
File renamed without changes.

0 commit comments

Comments
 (0)