From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Tue, 11 May 2010 17:37:44 +0400 Subject: [U-Boot] [PATCH v3] Support for devices with FAT32 PBR In-Reply-To: <1273558247.6150.10.camel@ilurilinux> References: <> <1273494066-11092-1-git-send-email-iluri@aotek.es> <4BE824BE.6080909@mvista.com> <1273558247.6150.10.camel@ilurilinux> Message-ID: <4BE95DA8.8060608@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello. Igor Luri wrote: > Dear Sergei, > > I have readen git-format-patch commands manual and I don't find any > option to create a single patch, by default creates a patch per commit > change. > > How can I create a single patch? > You need to redo your several commits as a single commit -- git-format-patch won't help here. > I would apreciate any help. > > Best regards. > > > > El lun, 10-05-2010 a las 19:22 +0400, Sergei Shtylyov escribi?: > >> Hello. >> >> Igor Luri wrote: >> >> >>> Signed-off-by: Igor Luri >>> --- >>> disk/part_dos.c | 3 ++- >>> 1 files changed, 2 insertions(+), 1 deletions(-) >>> >>> diff --git a/disk/part_dos.c b/disk/part_dos.c >>> index 887b75e..d91f773 100644 >>> --- a/disk/part_dos.c >>> +++ b/disk/part_dos.c >>> @@ -77,7 +77,8 @@ static int test_block_type(unsigned char *buffer) >>> (buffer[DOS_PART_MAGIC_OFFSET + 1] != 0xaa) ) { >>> return (-1); >>> } /* no DOS Signature at all */ >>> - if(strncmp((char *)&buffer[DOS_PBR_FSTYPE_OFFSET],"FAT",3)==0) >>> + if((strncmp((char *)&buffer[DOS_PBR_FSTYPE_OFFSET],"FAT",3)==0) || >>> + (strncmp((char *)&buffer[DOS_PBR_FAT32_FSTYPE_OFFSET],"FAT32",5)==0) ) >>> return DOS_PBR; /* is PBR */ >>> return DOS_MBR; /* Is MBR */ >>> } >>> >>> >> This was not a single patch, that was tree patches in the single >> email. :-) >> WBR, Sergei