fprintf(stderr, "warning: ") -> warning() patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | builtin-apply: use warning() instead of fprintf(stderr, "warning: ")builtin-apply.c | +7 | 21 replies | |
| 2/8 | builtin-checkout: use warning() instead of fprintf(stderr, "warning: ")builtin-checkout.c | +2 | 0 replies | |
| 3/8 | builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ")builtin-fetch-pack.c | +1 | 0 replies | |
| 4/8 | builtin-init-db: use warning() instead of fprintf(stderr, "warning: ")builtin-init-db.c | +3 | 0 replies | |
| 5/8 | builtin-rm: use warning() instead of fprintf(stderr, "warning: ")builtin-rm.c | +1 | 0 replies | |
| 6/8 | builtin-show-branch: use warning() instead of fprintf(stderr, "warning: ")builtin-show-branch.c | +1 | 0 replies | |
| 7/8 | builtin-show-ref: use warning() instead of fprintf(stderr, "warning: ")builtin-show-ref.c | +1 | 0 replies | |
| 8/8 | refs: use warning() instead of fprintf(stderr, "warning: ")refs.c | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] fprintf(stderr, "warning: ") -> warning() patches
Quoted 2 lines · Jeff King
- there are several places that manually print "warning: " via fprintf. I suppose those can be cleaned up to use
warning(), too.
Here are 8 patches to do so. This does not contain the http-push patch I send already in this thread, nor your patch.
Miklos Vajna (8):
builtin-apply: use warning() instead of fprintf(stderr, "warning: ")
builtin-checkout: use warning() instead of fprintf(stderr, "warning:
")
builtin-fetch-pack: use warning() instead of fprintf(stderr,
"warning: ")
builtin-init-db: use warning() instead of fprintf(stderr, "warning:
")
builtin-rm: use warning() instead of fprintf(stderr, "warning: ")
builtin-show-branch: use warning() instead of fprintf(stderr,
"warning: ")
builtin-show-ref: use warning() instead of fprintf(stderr, "warning:
") refs: use warning() instead of fprintf(stderr, "warning: ")
builtin-apply.c | 15 +++++++-------- builtin-checkout.c | 4 ++-- builtin-fetch-pack.c | 2 +- builtin-init-db.c | 7 +++---- builtin-rm.c | 3 +-- builtin-show-branch.c | 3 +-- builtin-show-ref.c | 2 +- refs.c | 8 +++----- 8 files changed, 19 insertions(+), 25 deletions(-)