quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] patch for quilt refresh to sort patch


From: Andreas Gruenbacher
Subject: Re: [Quilt-dev] patch for quilt refresh to sort patch
Date: Wed, 13 Apr 2005 14:41:54 +0200
User-agent: KMail/1.8

On Wednesday 13 April 2005 14:30, Markus F.X.J. Oberhumer wrote:
> Andreas Gruenbacher wrote:
> > On Wednesday 13 April 2005 13:20, Markus F.X.J. Oberhumer wrote:
> >>Hello everybody,
> >>
> >>below is a very tiny patch that "canonicalizes" a patch by sorting by
> >>filename when doing a "quilt refresh". This is really useful for CVS and
> >>when you move patches around different trees.
> >
> >     - for file in $(files_in_patch_ordered $patch)
> >     + for file in $(files_in_patch_ordered $patch | sort)
> >
> > This defeats the whole point of the files_in_patch_ordered function,
> > which is to keep files in the order in which they already are in the
> > patch. We can add new files in sort order when doing the refresh though.
> > Okay?
>
> I see - what about a new option "--sort" for refresh then ?

Yes, why not. I don't think it's an important feature, but it won't hurt.

> This way you could upgrade a patch to "sorted mode", and with the new
> way of new files getting added in sort order the patch will remain sorted.

No, new files will still get appended at the end of the patch.

Regards,
-- 
Andreas Gruenbacher <address@hidden>
SUSE Labs, SUSE LINUX PRODUCTS GMBH




reply via email to

[Prev in Thread] Current Thread [Next in Thread]