Skip to content

post-strbuf_getline cleanups

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6give "nbuf" strbuf a more meaningful namebuiltin/check-attr.c builtin/check-ignore.c builtin/checkout-index.c +2 more+30 -293 replies
2/6checkout-index: simplify "-z" option parsingbuiltin/checkout-index.c+2 -100 replies
3/6checkout-index: handle "--no-prefix" optionbuiltin/checkout-index.c+6 -120 replies
4/6checkout-index: handle "--no-index" optionbuiltin/checkout-index.c+10 -242 replies
5/6checkout-index: disallow "--no-stage" optionbuiltin/checkout-index.c+3 -12 replies
6/6apply, ls-files: simplify "-z" parsingbuiltin/apply.c builtin/ls-files.c+4 -244 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] post-strbuf_getline cleanups

As promised, here are the "how about this on top" patches that came out of the discussion for the "strbuf_getline" series in:

http://thread.gmane.org/gmane.comp.version-control.msysgit/21773/focus=284001

As I looked further at some of the option-parsing cleanups, I realized that some of them are more than cleanups; we're actually fixing bizarre behavior and segfaults.

[1/6]: give "nbuf" strbuf a more meaningful name [2/6]: checkout-index: simplify "-z" option parsing [3/6]: checkout-index: handle "--no-prefix" option [4/6]: checkout-index: handle "--no-index" option [5/6]: checkout-index: disallow "--no-stage" option [6/6]: apply, ls-files: simplify "-z" parsing

-Peff