lkml.org 
[lkml]   [2009]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [git-pull -tip] x86: include inverse Xmas tree patches
From
Date
On Sat, 2009-03-28 at 15:25 -0700, H. Peter Anvin wrote:
> Sam Ravnborg wrote:
> >
> > Ordering include based on length of line minimize the
> > risk of merge conflicts.
> > If people just add new includes in the bottom of the list you
> > are certain that a merge conflit happens.
> >
> > This scheme is starting to be used in several places with the
> > primary advocates being David Miller and Ingo.
> >
> > It is getting used both for includes _and_ for local variables.
> >
>
> Personally I'd prefer alphabetic order, sorting based on length isn't a
> complete ordering. Nearly all editors can sort alphabetically at the
> push of a key.
>

This sorting is based on Length + alphabetic.

--
JSR



\
 
 \ /
  Last update: 2009-03-29 10:01    [W:0.078 / U:1.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site