From: Matthieu Moy Subject: Re: [WIP/PATCH v4 8/8] ref-filter: add 'ref-filter.h' Date: Sun, 31 May 2015 22:46:26 +0200 Message-ID: References: <5569EF77.4010300@gmail.com> <1433008411-8550-8-git-send-email-karthik.188@gmail.com> <556AC40C.5020205@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Eric Sunshine , Git List , Christian Couder To: Karthik Nayak X-From: git-owner@vger.kernel.org Sun May 31 22:46:40 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 1YzA7y-0002Nr-PK for gcvg-git-2@plane.gmane.org; Sun, 31 May 2015 22:46:39 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758378AbbEaUqe (ORCPT ); Sun, 31 May 2015 16:46:34 -0400 Received: from mx1.imag.fr ([129.88.30.5]:33880 "EHLO shiva.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751810AbbEaUqd (ORCPT ); Sun, 31 May 2015 16:46:33 -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 t4VKkNCw002484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 31 May 2015 22:46:23 +0200 Received: from anie.imag.fr (anie.imag.fr [129.88.7.32]) by clopinette.imag.fr (8.13.8/8.13.8) with ESMTP id t4VKkQUH001640; Sun, 31 May 2015 22:46:26 +0200 In-Reply-To: <556AC40C.5020205@gmail.com> (Karthik Nayak's message of "Sun, 31 May 2015 13:49:24 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Sun, 31 May 2015 22:46:24 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: t4VKkNCw002484 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1433709986.3906@hVJSdXCOugx0DDM8mzRucA Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Karthik Nayak writes: > That is kind of a problem, If I need to swap those commits also, I'd > have to add the part where ref-filter is added to the Makefile with > the code movement from for-each-ref to ref-filter. This again will not > just be Code movement. You can have a preparatory patch that adds ref-filter.c containing just "#include ref-filter.h" and ref-filter.h with proper content. After this preparatory patch, you're in a rather silly situation because you have an almost empty .c file, but it's still passing all tests and compileable. Then, the next patch can be just code movement. -- Matthieu Moy http://www-verimag.imag.fr/~moy/