summaryrefslogtreecommitdiff
path: root/update-ref.c
diff options
context:
space:
mode:
authorLibravatar Dmitry V. Levin <ldv@altlinux.org>2006-05-29 04:34:34 +0400
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-30 21:49:01 -0700
commit2b6016263c984b71b29373fc9354d497cd51947d (patch)
treec228d1c6f3f08c3d042c8ad51f75f3173e697cfc /update-ref.c
parentexecv_git_cmd: Fix stack buffer overflow. (diff)
downloadtgif-2b6016263c984b71b29373fc9354d497cd51947d.tar.xz
git_exec_path, execv_git_cmd: ignore empty environment variables
Ignoring empty environment variables is good common practice. Ignoring --exec-path with empty argument won't harm, too: if user means current directory, there is a "--exec-path=." Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'update-ref.c')
0 files changed, 0 insertions, 0 deletions