summaryrefslogtreecommitdiffstats
path: root/t/helper
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-05-30 23:15:16 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-30 23:15:17 +0200
commitf8da12adcfc606a1321ef2e6de8243282596a574 (patch)
treed5ef9ce70176dfb896263dc5868b17db911feaac /t/helper
parentMerge branch 'jc/add-patch-enforce-single-letter-input' (diff)
parentMerge branch 'fixes/2.45.1/2.44' into jc/fix-2.45.1-and-friends-for-maint (diff)
downloadgit-f8da12adcfc606a1321ef2e6de8243282596a574.tar.xz
git-f8da12adcfc606a1321ef2e6de8243282596a574.zip
Merge branch 'jc/fix-2.45.1-and-friends-for-maint'
Adjust jc/fix-2.45.1-and-friends-for-2.39 for more recent maintenance track. * jc/fix-2.45.1-and-friends-for-maint: Revert "fsck: warn about symlink pointing inside a gitdir" Revert "Add a helper function to compare file contents" clone: drop the protections where hooks aren't run tests: verify that `clone -c core.hooksPath=/dev/null` works again Revert "core.hooksPath: add some protection while cloning" init: use the correct path of the templates directory again hook: plug a new memory leak ci: stop installing "gcc-13" for osx-gcc ci: avoid bare "gcc" for osx-gcc job ci: drop mention of BREW_INSTALL_PACKAGES variable send-email: avoid creating more than one Term::ReadLine object send-email: drop FakeTerm hack
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-path-utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/t/helper/test-path-utils.c b/t/helper/test-path-utils.c
index 023ed2e1a7..bf0e23ed50 100644
--- a/t/helper/test-path-utils.c
+++ b/t/helper/test-path-utils.c
@@ -501,16 +501,6 @@ int cmd__path_utils(int argc, const char **argv)
return !!res;
}
- if (argc == 4 && !strcmp(argv[1], "do_files_match")) {
- int ret = do_files_match(argv[2], argv[3]);
-
- if (ret)
- printf("equal\n");
- else
- printf("different\n");
- return !ret;
- }
-
fprintf(stderr, "%s: unknown function name: %s\n", argv[0],
argv[1] ? argv[1] : "(there was none)");
return 1;