Re: [RFC] Re: Convert 'git blame' to parse_options()
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 23, 2008, 18:36 UTC
- Message-ID
- <alpine.LFD.1.10.0806231133190.2926@woody.linux-foundation.org>
- In-Reply-To
- <20080623181517.GA28527@sigill.intra.peff.net>
On Mon, 23 Jun 2008, Jeff King wrote:
> > There is already a discussion underway about the proper solution.
No there isn't, not any I have seen.
The recursion discussion has been going on for ages. Nothing happened, because people claimed it was too complex. And it doesn't solve all the _other_ issues where the current behaviour is just painful.
That said, I don't care how this gets fixed. If you want to fix it some other way, fine. Just _do_ it, dammit. And make the interface easier to use for incremental changes of existing code.
Because no, I don't care about builtin-blame.c in particular either. But I *do* care about the fact that currently it's sometimes a total *bitch* to convert the trivial ad-hoc argument parsing to use parse_options(). It takes effort and thinking.
And I seriously doubt that recursive or anything else will help that. But I _guarantee_ that an incremental mode will make it much much easier to do partial conversions of all the easy cases. And _that_ is what I care about.
Linus