From: Matthieu Moy Subject: Re: [PATCH v2 00/10] port branch.c to use ref-filter's printing options Date: Sun, 11 Oct 2015 21:32:23 +0200 Message-ID: References: <1444295885-1657-1-git-send-email-Karthik.188@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Junio C Hamano , Git , Christian Couder To: Karthik Nayak X-From: git-owner@vger.kernel.org Sun Oct 11 21:32:34 2015 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZlMMD-00070I-70 for gcvg-git-2@plane.gmane.org; Sun, 11 Oct 2015 21:32:33 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751831AbbJKTc3 (ORCPT ); Sun, 11 Oct 2015 15:32:29 -0400 Received: from mx1.imag.fr ([129.88.30.5]:54045 "EHLO shiva.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbbJKTc2 (ORCPT ); Sun, 11 Oct 2015 15:32:28 -0400 Received: from clopinette.imag.fr (clopinette.imag.fr [129.88.34.215]) by shiva.imag.fr (8.13.8/8.13.8) with ESMTP id t9BJWLD2011506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 11 Oct 2015 21:32:21 +0200 Received: from anie (anie.imag.fr [129.88.7.32]) by clopinette.imag.fr (8.13.8/8.13.8) with ESMTP id t9BJWNmF025909; Sun, 11 Oct 2015 21:32:23 +0200 In-Reply-To: (Karthik Nayak's message of "Mon, 12 Oct 2015 00:08:10 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Sun, 11 Oct 2015 21:32:21 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: t9BJWLD2011506 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1445196742.00332@8YCto1frQKTG/dtP+LMHqQ Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Karthik Nayak writes: > On Sun, Oct 11, 2015 at 9:51 PM, Matthieu Moy > wrote: >> Karthik Nayak writes: >> >>> Also does it make sense to integrate these changes here? Or would you like to >>> have another series on this? >> >> To me, the important in this series is to avoid introducing duplicated >> and inconsistent code, because it would make further refactoring harder. >> > > Would you suggest duplicating whats done with %(align) here? I think introducing a function to split according to commas and remove commas would make sense, but I won't insist on that. Mimicking what's done with %(align) is acceptable to me: we'll have several instances of the same pattern, not ideal but easy enough to refactor later. Especially if you actually plan to work on that :-). -- Matthieu Moy http://www-verimag.imag.fr/~moy/