quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [RFC] Conditional diff/refresh opts depending on the sou


From: Greg KH
Subject: Re: [Quilt-dev] [RFC] Conditional diff/refresh opts depending on the source - patch as attachement
Date: Fri, 22 Jan 2010 07:24:25 -0800
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Jan 22, 2010 at 02:16:58PM +0100, Jean Delvare wrote:
> Le vendredi 22 janvier 2010 13:58, Andreas Krebbel a écrit :
> > Hi,
> > > I share Josh's opinion that this would be much better handled by
> > > per-project quiltrc files, as others have already proposed in the
> > > past.
> > >
> > >   
> > But this requires me to create/copy that per-project quiltrc file whenever
> > checking out a different version of a project what I certainly will forget
> > to do.
> > 
> > Another point is that these per-project quiltrc files will usually only 
> > differ
> > in small parts. So when adjusting one of the settings you would like to have
> > for every project you have to locate every single per-project quiltrc file
> > and adjust that option.
> > 
> > I think the conditional args are the much more convenient approach.
> 
> You know, ~/.quiltrc is a bash script. If you like conditionals,
> feel tree to just code them using the bash syntax in your ~/.quiltrc
> file. This will be even more flexible that your proposal, and doesn't
> require any change to quilt.

Holy crap, I never realized that!

Wow, that makes things so much easier for me, I can change my .quiltrc
depending on the directory that I am in, keeping me from having to
constantly editing it to point to different patch repositories.

Jean, you just made my day, thanks so much.

Someone should go document this somewhere :)

thanks,

greg k-h




reply via email to

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