Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-10-30 14:52:40 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-30 21:04:48 +0300
commitd82dbbd849fadd9d61d9489a03b429b6d1413c81 (patch)
tree5363081cc9cfa212facf594778e0ee458cbdc8dc /run-command.h
parenteb5b6b57d0e9fba0e50871ece4ea79e76cd61a36 (diff)
replace and remove run_command_v_opt_tr2()
The convenience function run_command_v_opt_tr2() is only used by a single caller. Use struct child_process and run_command() directly instead and remove the underused function. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'run-command.h')
-rw-r--r--run-command.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/run-command.h b/run-command.h
index 39e5eae8ba..1bfa18575e 100644
--- a/run-command.h
+++ b/run-command.h
@@ -244,7 +244,6 @@ int run_auto_maintenance(int quiet);
* corresponds to the member .env.
*/
int run_command_v_opt(const char **argv, int opt);
-int run_command_v_opt_tr2(const char **argv, int opt, const char *tr2_class);
/*
* env (the environment) is to be formatted like environ: "VAR=VALUE".
* To unset an environment variable use just "VAR".