[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] must be a user problem?
From: |
Randy.Dunlap |
Subject: |
Re: [Quilt-dev] must be a user problem? |
Date: |
Thu, 3 Nov 2005 13:42:23 -0800 (PST) |
On Thu, 3 Nov 2005, Randy.Dunlap wrote:
>
> (quilt version 0.42)
> (qp is a symlink to quilt)
>
>
> I have a new file to add to the kernel tree.
>
> series currently contains 2 patches:
> > qp ser
> ata_gtf_header.patch
> ata_acpi_make.patch
>
> So to add the new file, I do:
>
> > qp new ata_acpi.patch
> Patch ata_acpi.patch is now on top
>
> > qp add drivers/scsi/ata_acpi.c
> File drivers/scsi/ata_acpi.c added to patch ata_acpi.patch
>
> then I cp ata_acpi.c (the new file) to ./drivers/scsi/ata_acpi.c
>
>
> Current state:
>
> > qp ser
> ata_gtf_header.patch
> ata_acpi_make.patch
> ata_acpi.patch
>
> > qp top
> ata_acpi.patch
>
> > qp files
> drivers/scsi/ata_acpi.c
>
> > qp ref
> Nothing in patch ata_acpi.patch
>
>
> Why does 'ref' find nothing?
> and how should I be adding this new file?
> I can't use 'import' because it's not in patch(1) format.
Hm, so, .pc/ata_acpi.patch/drivers/scsi/ata_acpi.c contained
the complete new file, so quilt refresh found no changes
between the "current" file in drivers/scsi/ and the
"original" file in .pc/. I truncated the file in .pc/
to be a 0-length file and then 'refresh' produces a
correct diff (AFAICT).
Is this a quilt buglet or a user problem?
--
~Randy