[PATCH 0/6] post-strbuf_getline cleanups
- From
Jeff King <peff@peff.net>
- Date
- Jan 31, 2016, 11:22 UTC
- Message-ID
- <20160131112215.GA4589@sigill.intra.peff.net>
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