git_extract_argv0_path(): Move check for valid argv0 from caller to callee
authorSteffen Prohaska <prohaska@zib.de>
Sun, 18 Jan 2009 12:00:11 +0000 (13:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jan 2009 08:26:05 +0000 (00:26 -0800)
commit2cd72b0b290e40fb4d6a925ce26603503f01aa09
tree6ef034279ded05faad660074fe3e5b5fff4dc70e
parent4dd47c3b867f51211d0dc4474dab0fee5ca614da
git_extract_argv0_path(): Move check for valid argv0 from caller to callee

This simplifies the calling code.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
exec_cmd.c
git.c