www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: How to supply and apply git diffed patches
Date Tue, 30 Sep 2008 05:34:01 GMT
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.


View raw message