Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105734 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 84972 invoked from network); 17 May 2019 18:23:20 -0000 Received: from unknown (HELO mail-qk1-f179.google.com) (209.85.222.179) by pb1.pair.com with SMTP; 17 May 2019 18:23:20 -0000 Received: by mail-qk1-f179.google.com with SMTP id d10so4704254qko.4 for ; Fri, 17 May 2019 08:29:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4JnVL5MMrpwGYA8hoAe2I/jKYtm+Oh+NFmft6odtzIg=; b=ZtzavuewXiZgGqHAhfUGPSkWeKgPEmDExJlLRhvvYZuIgmz64SZXijKxgNSrOZ6urC oFes5/EJuW6yiV4wxq/tliA9svcv51AhS9/pzxLkTBJyadSASg8fZBsEx2D6rfC0NZaV bBmh2zfXwC7E4GuKt/NnFxUUUeOm40bL2D0Grec/EBYTBDxLFkoN3tqYYd0SPSq4BMnE OAOEy9HcCCFHK/OYKROkjPvjBjMTfAphV+kYGI6zCmmQUc6+Ql/o4oN26BexUcrX0icr nxzAtSLoRPvGZDEhsUt4JCeCF0bjk46ZvFz6xgLvxSDcOo87Qy8p844VTyhEKvMVpQQK 6PFQ== X-Gm-Message-State: APjAAAUwLO8cNXRpsYjRGsj5An3859wEUY4gn9xLX8tL7bX6EJ89tY++ ilvbqbNUklOUD2/wDtp6nwg6Aaff8/CtTRIJbZLb2A== X-Google-Smtp-Source: APXvYqxDkrFC0L50J8IOBagbMzTlq/nisLHdU5iNyzw6OZBshvG/WI99SVu8F6H0Vo0V0fz9ewmCn/5zFGAMRPB5P8Y= X-Received: by 2002:a37:99c6:: with SMTP id b189mr45034459qke.241.1558106985559; Fri, 17 May 2019 08:29:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 17 May 2019 10:29:34 -0500 Message-ID: To: Bishop Bettini Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000658c9e0589170dc6" Subject: Re: [PHP-DEV] Git FAQ - "How to handle changes that should not merge upward?" From: pollita@php.net (Sara Golemon) --000000000000658c9e0589170dc6 Content-Type: text/plain; charset="UTF-8" On Fri, May 17, 2019 at 9:56 AM Bishop Bettini wrote: > Our Git FAQ[1] currently says (at the bottom): > > > What about commits that should not be merged upwards (say, only for 5.3)? > Should you still merge them but make it so no changes actually take place? > Otherwise, it will the next person merging that will have to deal with the > conflict (or worse, the changes will be merged when they shouldn't have > been) > > Please, could someone supply examples as to when this scenario occurs, and > how to handle it? > > > I routinely do this for version commits on my release branch. See: https://github.com/php/php-src/commit/4fa32d67bf3fbea0241f0e786dbcb5517d25e1a2 Or cmb here: https://github.com/php/php-src/commit/2d93cce03a96ee7b0265e15e2d56acd173dec682 In both cases, we do the commit on our branch, then nullify it in the first merge, then have null merges the rest of the way down. -Sara --000000000000658c9e0589170dc6--