Code

receive-pack: remove unnecessary run_status report
authorJohannes Sixt <j6t@kdbg.org>
Sat, 4 Jul 2009 19:26:43 +0000 (21:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2009 09:45:52 +0000 (02:45 -0700)
commit90e41a89caa464a84e13cbc9378b0348a61f713b
treec7e33198670a7c76322b48e09bf752e77642e9ba
parentc024beb56da679839d61f352d088b9a86823233a
receive-pack: remove unnecessary run_status report

The function run_status was used to report failures after a hook was run.
By now, the only thing that the function itself reported was the exit code
of the hook (if it was non-zero). But this is redundant because it can be
expected that the hook itself will have reported a suitable error.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c