[Gdal-dev] preferred diff format

Frank Warmerdam warmerdam at pobox.com
Tue Apr 3 22:05:12 EDT 2007


Brian Claywell wrote:
> What's the preferred diff format for submitting patches? For example,
> I'm currently using context diffs with three lines of context, e.g.,
> 
> diff -rc3 /usr/src/gdal-1.4.0/frmts/hfa/ frmts/hfa/ > hfa-no-data.patch
> 
> Are unified diffs preferable? I'm pretty new to submitting patches to
> large projects.

Brian,

For what it's worth, I'm never sure how to prepare could diffs for patches
either.  I often patches I receive manually so context diffs with some
context sound good.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list