Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2C0A8431FD0 for ; Sat, 2 Jul 2011 13:23:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.524 X-Spam-Level: * X-Spam-Status: No, score=1.524 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=2.223, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2lVh6yYIGua5 for ; Sat, 2 Jul 2011 13:23:02 -0700 (PDT) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C0927431FB6 for ; Sat, 2 Jul 2011 13:23:02 -0700 (PDT) Received: by iwn37 with SMTP id 37so4019554iwn.26 for ; Sat, 02 Jul 2011 13:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NjxzyMYcnXiIvqoLjkTW9V/ceENBvAEyAO3umhmObsY=; b=q+rKP+KlbdVR13tfW+b/aIHDv2SLNcRYj2nUQhJpnOmRGuhu2KwBd87ixG0kFGYrPd P+qRWGE6Bf79K5m45Tu5RA5V+4T4qeCATOer91D+S1eDCoHD3zut+yzi1bnymY5z8YvG tB9hs4Uf0HEswq+xGMV3hsfWeCBeyzx+8bWYE= MIME-Version: 1.0 Received: by 10.231.44.65 with SMTP id z1mr4078030ibe.95.1309638182106; Sat, 02 Jul 2011 13:23:02 -0700 (PDT) Sender: five9a2@gmail.com Received: by 10.231.37.141 with HTTP; Sat, 2 Jul 2011 13:23:02 -0700 (PDT) In-Reply-To: <87r568yhq5.fsf@zancas.localnet> References: <87y60hn0mg.fsf@zancas.localnet> <87r568yhq5.fsf@zancas.localnet> Date: Sat, 2 Jul 2011 15:23:02 -0500 X-Google-Sender-Auth: _apv0_7AmUa5a5DDUKin0ua4GZA Message-ID: Subject: Re: branchs and tags and merges oh my! From: Jed Brown To: David Bremner Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2011 20:23:03 -0000 On Sat, Jul 2, 2011 at 07:44, David Bremner wrote: > > A third strategy is "git checkout master && git merge -s ours 0.6". > Then history will look like this: > > =C2=A0freeze > --.-------------.----- master > =C2=A0 \ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 / > =C2=A0 =C2=A0----------- > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 release > > As long as every patch on the release branch is already on master, -s > ours (which throws away all the changes from the side branch) is > reasonable. Remind me of why bugfix patches can't (usually) be applied to the release branch first, then merged into master? When the patch is (accidentally or otherwise) applied to master first, then I think you have no choice but to have it appear twice in the history, once in master and once in release, and using the model you describe above seems the most sensible way to do that.