[U-Boot] Question about patches

Fabio Giovagnini fabio.giovagnini at aurion-tech.com
Tue Jul 20 10:09:48 CEST 2010


Many thanks to you and everybody

Cheers


In data martedì 20 luglio 2010 09:52:50, Xiangfu Liu ha scritto:
: > Hi Fabio
> 
> 1. git clone git://git.denx.de/u-boot.git u-boot.upstream
> 2. cd u-boot.upstream/
> 3. echo "/* just for git test */" >> driver/mtd/dataflash.c
> 4. git diff
> 5. git commit -a -s -m "this patch is for test"
> 6. git format-patch -1
> 
> then you will got a 0001-***.patch file.
> 
> On 07/20/2010 03:39 PM, Fabio Giovagnini wrote:
> > Hi Vipin,
> > I'm not so smart in diff / patch and git tools usage.
> > Could be so kind to write to me how to build a patch for just one file I
> > have modified in driver/mtd directory of u-boot?
> >
> > Thanks in advange and sorry for my request, but I read on the net and
> > nothing appeared to be usfull.
> >
> > Thanks and sorry again
> >
> > In data martedì 20 luglio 2010 09:00:39, Vipin KUMAR ha scritto:
> > :>  On 7/20/2010 12:25 PM, Fabio Giovagnini wrote:
> >>>
> >>> Hi all,
> >>> for sending a patch do I need to have on my PC two u-bbot tree, one
> >>> original obtaned by git command, and another to make the modifications?
> >>>
> >>> Or can I produce the patches using the original tree resident on git
> >>> server?
> >>
> >> Ciao Fabio,
> >>
> >> You can use git format patch command to produce numbered patches
> >> You can google it to know more
> >>
> >> Regards
> >> Vipin
> >>
> >>> Thanks
> 

-- 
Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com


More information about the U-Boot mailing list