| author | Alex Riesen <raa.lkml@gmail.com> | |
| Tue, 22 May 2007 21:48:23 +0000 (23:48 +0200) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Thu, 24 May 2007 05:38:44 +0000 (22:38 -0700) | ||
| commit | 1568fea01eb25a293f8dae570a31ca34d41b5442 | |
| tree | 9155915d612621b41c4a1869881846feea94711a | tree | snapshot |
| parent | 98ee8187e4e331716be0797169ba9ddbb26efe56 | commit | diff |
Add run_command_v_opt_cd: chdir into a directory before exec
It can make code simplier (no need to preserve cwd) and safer
(no chance the cwd of the current process is accidentally forgotten).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
It can make code simplier (no need to preserve cwd) and safer
(no chance the cwd of the current process is accidentally forgotten).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
| run-command.c | diff | blob | history | |
| run-command.h | diff | blob | history |