summaryrefslogtreecommitdiff
path: root/exec-cmd.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-04-10 21:26:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-11 09:11:00 (GMT)
commitd807c4a01db2b06db047fc6d5d18ac25c8f05bd7 (patch)
tree7f9d412b192cc3ea2142aa2f3e45a443512954a2 /exec-cmd.h
parente233bef43e4a73ec183eb927ab4803aefc77bab9 (diff)
downloadgit-d807c4a01db2b06db047fc6d5d18ac25c8f05bd7.zip
git-d807c4a01db2b06db047fc6d5d18ac25c8f05bd7.tar.gz
git-d807c4a01db2b06db047fc6d5d18ac25c8f05bd7.tar.bz2
exec_cmd: rename to use dash in file name
This is more consistent with the project style. The majority of Git's source files use dashes in preference to underscores in their file names. Signed-off-by: Stefan Beller <sbeller@google.com>
Diffstat (limited to 'exec-cmd.h')
-rw-r--r--exec-cmd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/exec-cmd.h b/exec-cmd.h
new file mode 100644
index 0000000..ff0b480
--- /dev/null
+++ b/exec-cmd.h
@@ -0,0 +1,16 @@
+#ifndef GIT_EXEC_CMD_H
+#define GIT_EXEC_CMD_H
+
+struct argv_array;
+
+extern void git_set_argv_exec_path(const char *exec_path);
+extern void git_extract_argv0_path(const char *path);
+extern const char *git_exec_path(void);
+extern void setup_path(void);
+extern const char **prepare_git_cmd(struct argv_array *out, const char **argv);
+extern int execv_git_cmd(const char **argv); /* NULL terminated */
+LAST_ARG_MUST_BE_NULL
+extern int execl_git_cmd(const char *cmd, ...);
+extern char *system_path(const char *path);
+
+#endif /* GIT_EXEC_CMD_H */