From: Fabio Giovagnini Date: Tue, 20 Jul 2010 10:09:48 +0200 Subject: [U-Boot] Question about patches In-Reply-To: <4C4555D2.9070006@openmobilefree.net> References: <201007200855.01581.fabio.giovagnini@aurion-tech.com> <201007200939.36563.fabio.giovagnini@aurion-tech.com> <4C4555D2.9070006@openmobilefree.net> Message-ID: <201007201009.48798.fabio.giovagnini@aurion-tech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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