[U-Boot] [PATCH V8 1/6] pxa: move i2c driver to the common place

Macpaul Lin macpaul at gmail.com
Thu Apr 21 04:47:02 CEST 2011


Hi Lei Wen,

2011/4/21 Lei Wen <adrian.wenl at gmail.com>:
> Hi Wolfgang,
>
> On Thu, Apr 21, 2011 at 6:32 AM, Wolfgang Denk <wd at denx.de> wrote:
>> Dear Lei Wen,
>>
>>>  arch/arm/cpu/pxa/i2c.c    |  469 ---------------------------------------------
>>>  drivers/i2c/Makefile      |    1 +
>>>  drivers/i2c/mv_i2c.c      |  452 +++++++++++++++++++++++++++++++++++++++++++
>>>  include/configs/innokom.h |    1 +
>>>  include/configs/xm250.h   |    1 +
>>>  6 files changed, 455 insertions(+), 470 deletions(-)
>>>  delete mode 100644 arch/arm/cpu/pxa/i2c.c
>>>  create mode 100644 drivers/i2c/mv_i2c.c
>>
>> I understand that arch/arm/cpu/pxa/i2c.c got renamed into
>> drivers/i2c/mv_i2c.c ?  Then please make sure this is visible in git
>> history, i. e. this should be a rename (eventually with
>> modifications), but not a remove/add.
>>
>
> There is no way to for git to do this... I try to do this with git mv, but that
> also don't shows the rename operation in the formated patch.
> Is there some advanced git command could accomplish that?
>
> Best regards,
> Lei

Sorry I didn't follow your discussion before.
According to this mail I've read, I guess you need to use git
--format-patch with -M or -C
option to avoid git generating such details.

>>>  arch/arm/cpu/pxa/i2c.c    |  469 ---------------------------------------------
>>>  drivers/i2c/Makefile      |    1 +
>>>  drivers/i2c/mv_i2c.c      |  452 +++++++++++++++++++++++++++++++++++++++++++

Not sure if this really resolve your problem. :)

-- 
Best regards,
Macpaul Lin


More information about the U-Boot mailing list