aboutsummaryrefslogtreecommitdiffstats
path: root/exec-cmd.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-04-25 13:29:05 +0900
committerJunio C Hamano <gitster@pobox.com>2018-04-25 13:29:05 +0900
commit89e5aa3dff7c83de2c21253d32ed8399f56ab430 (patch)
tree195cb65b99daa602dd8f89638c23ceac04785c57 /exec-cmd.h
parentMerge branch 'cc/perf-bisect' (diff)
parentreplace_object.c: rename to use dash in file name (diff)
downloadgit-89e5aa3dff7c83de2c21253d32ed8399f56ab430.tar.gz
git-89e5aa3dff7c83de2c21253d32ed8399f56ab430.zip
Merge branch 'sb/filenames-with-dashes'
Rename bunch of source files to more consistently use dashes instead of underscores to connect words. * sb/filenames-with-dashes: replace_object.c: rename to use dash in file name sha1_file.c: rename to use dash in file name sha1_name.c: rename to use dash in file name exec_cmd: rename to use dash in file name unicode_width.h: rename to use dash in file name write_or_die.c: rename to use dashes in file name
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 0000000000..ff0b48048a
--- /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 */