Jeff King [off-list ref] writes:
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
Thanks for following up.
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