[PATCH 0/3] Miscellanous cleanups around start_command/run_command callers
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jun 8, 2009, 20:34 UTC
- Message-ID
- <cover.1244492658.git.j6t@kdbg.org>
This is just to flush a queue of unrelated changes before they pile up. I found these while I reviewed start_command and run_command call sites.
Johannes Sixt (3):
Simplify some instances of run_command() by using
run_command_v_opt().
diff.c: plug a memory leak in an error path
Simplify some 'fprintf(stderr); return -1;' by using 'return error()'builtin-help.c | 16 ++++++---------- builtin-receive-pack.c | 10 +++------- diff.c | 1 + ll-merge.c | 11 ++--------- merge-index.c | 42 +++++++++++++----------------------------- 5 files changed, 25 insertions(+), 55 deletions(-)