commit | 07e23839459465c1319c7ce91afaf01d3e31a97e | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Tue Jan 07 17:10:15 2014 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jan 07 14:31:10 2014 -0800 |
tree | c9eaebc26b18e260241a476fff6207316239737c | |
parent | 832cf74c0792a58c9c28e32a8fe5dbb694f0cce6 [diff] |
cat-file: refactor error handling of batch_objects This just pulls the return value for the function out of the inner loop, so we can break out of the loop rather than do an early return. This will make it easier to put any cleanup for the function in one place. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>