[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5DvY-5kjzD8fKWkR2PhgT3HO7tT_fAZnuomBx+woLqH6g@mail.gmail.com>
Date: Sat, 13 Jan 2018 17:13:36 -0200
From: Fabio Estevam <festevam@...il.com>
To: Himanshu Jha <himanshujha199640@...il.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
michal.lkml@...kovi.net, nicolas.palix@...g.fr,
linux-kernel <linux-kernel@...r.kernel.org>,
cocci@...teme.lip6.fr
Subject: Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename kzalloc-simple
to zalloc-simple
On Sat, Jan 13, 2018 at 3:53 PM, Himanshu Jha
<himanshujha199640@...il.com> 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.
Powered by blists - more mailing lists