Refactor run_command error handling in receive-pack
authorShawn O. Pearce <spearce@spearce.org>
Sat, 10 Mar 2007 08:28:11 +0000 (03:28 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 12 Mar 2007 05:49:43 +0000 (22:49 -0700)
commit6c319a22e47e6b49d799f5893aeac92e723a5e6f
tree8949b9a7b162990524f76aa71a6d1500991aaaf7
parent4919bf0354e2a1cfb948c320d45d51319ada30eb
Refactor run_command error handling in receive-pack

I'm pulling the error handling used to decode the result of
run_command up into a new function so that I can reuse it.
No changes, just a simple code movement.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c