[openib-general] patches from subversion

Matt Leininger mlleinin at hpcn.ca.sandia.gov
Thu Jan 20 00:07:36 PST 2005


On Wed, 2005-01-19 at 22:32 -0800, Grant Grundler wrote:
> On Wed, Jan 19, 2005 at 07:48:33PM -0800, Matt Leininger wrote:
> >    Added to the OpenIB FAQ. Check  www.openib.org/docs/openib_faq.txt to
> > make sure I've captured all the suggestions.
> 
> Thanks!
> 
> | It is preferred that patches are generated with the diff -up option.
> | How are a few ways to do this.
> 
> s/How/Here
> 
> | 
> | 2) svn diff --diff-cmd "/usr/bin/diff" -x -up FILENAME
> | 
> | 3) svn diff --diff-cmd mydiff
> 
> Can you replace it with the following?
> 
> | It is preferred that patches are generated with the diff -up option.
> | Here is a sample command line:
> |	svn diff --diff-cmd "/usr/bin/diff" -x -up FILENAME
> |
> | or using a "mydiff" wrapper:
> |	svn diff --diff-cmd mydiff
> |   (or modify ~/.subversion/config: diff-cmd = ~/bin/mydiff)
> |
> | where "~/bin/mydiff contains:
> |	#!/usr/bin/perl
> |	exec ("diff", "-up", at ARGV);
> 
  Done.

    - Matt





More information about the general mailing list