This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Small patches or big patches?


On Fri, Jul 08, 2011 at 11:50:19PM +0200, Daniel Carrera wrote:
> 
> Right now I am working on a patch to implement the stat= and errmsg= 
> parameters of an ALLOCATE statement with the coarray_lib option.
> 
> ALLOCATE( x(10)[*] , stat=s, errmsg=str )
> principle be submitted as a small patch in its own right. So here is my 
> question: Is it better to submit a small but functional intermediary 
> patch like this one, or should I wait until "errmsg=" is also 
> implemented before I submit anything?
> 

In general, small patches are easier to review and 6 months
later when a bug is reported, it is easier to go back to see
what was changed.

IMHO, patches, whether large or smaller, that address several
unrelated issues should be split up into smaller self-contained
patches.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]