From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: [RFC] Re: Convert 'git blame' to parse_options() Date: Mon, 23 Jun 2008 12:49:17 -0400 Message-ID: <20080623164917.GA25474@sigill.intra.peff.net> References: <20080623082223.GA12130@artemis.madism.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Johannes Schindelin , Pierre Habouzit , Git Mailing List , Junio C Hamano To: Linus Torvalds X-From: git-owner@vger.kernel.org Mon Jun 23 18:50:26 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KApFC-0005CB-12 for gcvg-git-2@gmane.org; Mon, 23 Jun 2008 18:50:18 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751888AbYFWQtV (ORCPT ); Mon, 23 Jun 2008 12:49:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751649AbYFWQtV (ORCPT ); Mon, 23 Jun 2008 12:49:21 -0400 Received: from peff.net ([208.65.91.99]:2311 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbYFWQtU (ORCPT ); Mon, 23 Jun 2008 12:49:20 -0400 Received: (qmail 27351 invoked by uid 111); 23 Jun 2008 16:49:18 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) (smtp-auth username relayok, mechanism cram-md5) by peff.net (qpsmtpd/0.32) with ESMTP; Mon, 23 Jun 2008 12:49:18 -0400 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Mon, 23 Jun 2008 12:49:17 -0400 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Mon, Jun 23, 2008 at 09:25:10AM -0700, Linus Torvalds wrote: > Could you handle the "recursive" use of parse_options() in builtin-blame.c > by teaching it about recursion? Yes. But again, it's just _simpler_ to > just teach parse_options() to parse the things it knows about, and leave > the other things in place. If I know that I have option "-a", what is the correct partial parsing of: git foo -b -a ? -Peff