Re: [PATCH v6 00/15] prepare for LLVM fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 29, 2017 at 2:10 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> I do wish that sparse would use more of a real git workflow, instead
> of just applying patches.
>
> Sending out patches to a mailing list is _wonderful_ for actually
> doing code review and making people *aware* of what's going on, but
> it's not a great maintenance model. It doesn't scale, and it makes for
> lots of maintainer work.
>
> Particularly with somebody like Luc, who sends involved patch series
> for core stuff and knows what he is doing, I think Chris could just do
> git merges, and lower the maintenance overhead a lot.

I have a pretty comfortable script system to deal with patches right now.
So for me applying patches does not have significant overhead compare
to git.

Patches give me more flexibly on reviewing. Git merge is either merge
with the whole thing or not. It is does not work if there is some thing
change in between. I like to apply the patch and play with it a bit then
move to the next one. I suppose I can write some script to follow git branch
as one change at a time. My current patch series script is extremely flexible
on cherry pick the patches and tracking which patch was rejected for
what reason etc.

That being said, I do wish there is a way to figure out which patches
haven't changed in the new series. e.g. from V4 to V5, only a few patches
actually change. I can just focus on those changed one. I suppose I can
write a script to detect the same patch on different series.

> NOTE! If you do git merges using the github interface, things often go
> south *very* quickly.  github likes to do "merges" using rebase,
> probably because it caters to projects who don't understand about the
> whole "keep a sane history". So it's really really easy to use github
> in ways that interact really badly with good git workflows. But you
> *can* do merges entirely using github, if you actually know what
> you're doing and are careful to not do rebasing merges with core
> contributors (using rebase for the occasional small patch series from
> random fly-by contributors is ok, but I think even then github screws
> up signed-off chains).

I notices that too. I don't use the github web ui merge. I just merge change
by hand.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux