Miscellanous cleanups around start_command/run_command callers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Simplify some instances of run_command() by using run_command_v_opt().builtin-receive-pack.c ll-merge.c merge-index.c | +18 | 0 replies | |
| 2/3 | diff.c: plug a memory leak in an error pathdiff.c | +1 | 0 replies | |
| 3/3 | Simplify some 'fprintf(stderr); return -1;' by using 'return error()'builtin-help.c | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Miscellanous cleanups around start_command/run_command callers
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(-)