From: Philip Balister <philip@balister.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] collapse commits in branches to easy review
Date: Wed, 17 Dec 2008 16:19:04 -0500 [thread overview]
Message-ID: <49496CC8.7020407@balister.org> (raw)
In-Reply-To: <gib10j$i28$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
Koen Kooi wrote:
> Hi,
>
> I want to propose that when people want to have a branch reviewed for
> merging that has a lot of commits (e.g. more than 30) that the commits
> get 'collapsed' to one diff per recipe/directory or per functional
> change. Collapsing it would be something like:
>
> git diff .dev .merges | diffsplit
>
> and then writing a simple script that cats the remaing files together
> based on directory (e.g. awk -F- {if $1==$2 then cat file to $3.diff)}.
> The diffsplit script can be found at [1].
>
> If you have a functional change (e.g. like PR -> FILEPR) that can of
> course stay in one diff.
>
> If review branches get organized like this we can more easily review
> them and suggest changes.
>
> We will loose some history this way, but branches can get merged faster
> and it would stop huge piles of crap going in, which IMO outweighs the
> downsides.
>
> Big branches CANNOT be merged without proper review, but I don't think
> anyone wants to review a few hundred commits :/
>
> So, what do you think about this?
Basically, I also agree with Koen. Sadly, my git skillz are not good
enough to understand how much of a burden this is on people. I've been
saving this article which seems to cover the topic also:
http://www.andrewmoore.com/public/index.php/My_git_workflow
I promise to try and do enough work to have to collapse some patches for
merging :)
Philip
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
prev parent reply other threads:[~2008-12-17 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 14:06 [RFC] collapse commits in branches to easy review Koen Kooi
2008-12-17 15:25 ` Otavio Salvador
2008-12-17 16:11 ` Koen Kooi
2008-12-17 21:19 ` Philip Balister [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49496CC8.7020407@balister.org \
--to=philip@balister.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.