www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin" <ga...@16degrees.com.au>
Subject RE: How to supply and apply git diffed patches
Date Tue, 30 Sep 2008 05:49:31 GMT


> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org]
> Sent: Tuesday, 30 September 2008 3:34 PM
> To: infrastructure-dev@apache.org
> Subject: Re: How to supply and apply git diffed patches
> 
> Gavin wrote:
> >
> > I have absolutely nothing to do with Git, however recently at Forrest we
> are
> > being supplied with patches which are diffs created using git. The paths
> > seem different and so I haven't tried to apply them, rather cut & paste.
> >
> > Is there a good way for us to document how to supply git diffed patches,
> and
> > a goof way for us to implement them using our svn?
> 
> You need to undertand how to use the 'patch' command's "-p" option.
> One often receives patches that are like this, not just via git.
> This strips the appropriate number of leading slashes from
> file names in the patch.
> 
> -David

ah, thanks for that, so just use -p all the time then maybe.

I'll try it on the next one.

Gav...
> 
> 
> --
> Internal Virus Database is out-of-date.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.6.21 - Release Date: 9/11/2008
> 12:00 AM


Mime
View raw message