diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-07-13 21:08:23 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-07-13 16:23:37 -0700 |
| commit | 877da5e208dfd747750e16f34a0275f3e598d8d2 (patch) | |
| tree | 56412f0760496ba059d895de2d3b435614b0d9ce /run-command.c | |
| parent | 92fe7c7d42cc941ed70d6fce988d6b7936a9765a (diff) | |
| download | git-877da5e208dfd747750e16f34a0275f3e598d8d2.tar.gz | |
run-command: declare the `git_shell_path()` function globally
The intention is to use it in `git var GIT_SHELL_PATH`, therefore we
need this function to stop being file-local only.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
| -rw-r--r-- | run-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-command.c b/run-command.c index 60a79db8f0..45ba544932 100644 --- a/run-command.c +++ b/run-command.c @@ -274,7 +274,7 @@ int sane_execvp(const char *file, char * const argv[]) return -1; } -static char *git_shell_path(void) +char *git_shell_path(void) { #ifndef GIT_WINDOWS_NATIVE return xstrdup(SHELL_PATH); |
