Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751857AbeAMTNi (ORCPT + 1 other); Sat, 13 Jan 2018 14:13:38 -0500 Received: from mail-ot0-f177.google.com ([74.125.82.177]:45123 "EHLO mail-ot0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbeAMTNh (ORCPT ); Sat, 13 Jan 2018 14:13:37 -0500 X-Google-Smtp-Source: ACJfBos773oE1pavVdG1E/ccxthbCw1wk4gekCh++AGplro9jI9SZblOlFz2ESLT1fcKlIAO2Bqp0FcZ9nEbBnnEkRo= MIME-Version: 1.0 In-Reply-To: <20180113175353.GA3513@himanshu-Vostro-3559> References: <1515859050-31764-1-git-send-email-himanshujha199640@gmail.com> <20180113175353.GA3513@himanshu-Vostro-3559> From: Fabio Estevam Date: Sat, 13 Jan 2018 17:13:36 -0200 Message-ID: Subject: Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple To: Himanshu Jha Cc: Masahiro Yamada , michal.lkml@markovi.net, nicolas.palix@imag.fr, linux-kernel , cocci@systeme.lip6.fr Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sat, Jan 13, 2018 at 3:53 PM, Himanshu Jha wrote: > Yes, I used 'git mv'. > > It doesn't matter when applying through 'git am', both will result the > same AFAIK and only difference is that the patch files generated by 'git > format-patch' are different. But that is not important I think. You missed the -M option when running 'git format'. For reviewers it is not that easy to realize that the 448 lines of the original file are the same as the ones in the new file. The -M option generates a much cleaner patch.