Code

Clean up internal command handling
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Jun 2007 17:10:40 +0000 (10:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2007 01:01:29 +0000 (18:01 -0700)
commit47d0b4ff57f391786ed050f38c0de51462eda97a
tree05b098742d54306dce3888bf8b23ff59966a3e28
parentaeb59328453cd4f438345ea79ff04c96bccbbbb8
Clean up internal command handling

This should change no code at all, it just moves the definition of "struct
cmd_struct" out, and then splits out the running of the right command into
the "run_command()" function.

It also removes the long-unused 'envp' pointer passing.

This is just preparation for adding some more error checking.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c