diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-05-22 23:48:23 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-23 22:38:44 -0700 |
commit | 1568fea01eb25a293f8dae570a31ca34d41b5442 (patch) | |
tree | 9155915d612621b41c4a1869881846feea94711a /builtin-push.c | |
parent | 98ee8187e4e331716be0797169ba9ddbb26efe56 (diff) | |
download | git-1568fea01eb25a293f8dae570a31ca34d41b5442.tar.gz |
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>
Diffstat (limited to 'builtin-push.c')
0 files changed, 0 insertions, 0 deletions