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:
authorNanako Shiraishi <nanako3@lavabit.com>2008-10-02 14:14:25 +0400
committerShawn O. Pearce <spearce@spearce.org>2008-10-03 05:02:44 +0400
commit7996ff335e675b229398974f6cbf459843c9bf6d (patch)
tree1ee84a777b93b7d95ed7811e605e69d09a8163a4 /run-command.c
parent159b3212705f0f98c79a5565c0f9eff07234c1c7 (diff)
run-command.c: remove run_command_v_opt_cd()
This function is not used anywhere. Johannes Sixt <johannes.sixt@telecom.at>: > Future callers can use run_command_v_opt_cd_env() instead. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'run-command.c')
-rw-r--r--run-command.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/run-command.c b/run-command.c
index caab374577..c90cdc50e3 100644
--- a/run-command.c
+++ b/run-command.c
@@ -273,14 +273,6 @@ int run_command_v_opt(const char **argv, int opt)
return run_command(&cmd);
}
-int run_command_v_opt_cd(const char **argv, int opt, const char *dir)
-{
- struct child_process cmd;
- prepare_run_command_v_opt(&cmd, argv, opt);
- cmd.dir = dir;
- return run_command(&cmd);
-}
-
int run_command_v_opt_cd_env(const char **argv, int opt, const char *dir, const char *const *env)
{
struct child_process cmd;