Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73570 invoked from network); 19 Mar 2012 18:58:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2012 18:58:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.182 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.212.182 mail-wi0-f182.google.com Received: from [209.85.212.182] ([209.85.212.182:43331] helo=mail-wi0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/E2-59625-6C1876F4 for ; Mon, 19 Mar 2012 13:58:14 -0500 Received: by wibhr14 with SMTP id hr14so3850488wib.11 for ; Mon, 19 Mar 2012 11:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jITp9AC5Jh/9pm790DYvInWVsnhSl9j6iDWU7FN8OHc=; b=Mne24AmkMb6+uoF7LqhyBZlaIGLcBF1YVNKRFowVwJSUbFYRBmtKURUY80YeTuWL2m hpYoCFQ4kw3UZISNYbk7jhlepWf92It79cE9eDnQZa5u6KbCUVAF0VTg78zhoIJbhBku xFufPiYhUmxfJDICjYPVtF0kd8v5E9Z9NfNsDnM4/QtknbecpVp772Ui8EkEXJLcv9Gz c+SNkfaZH3fSKpbMG+c3AiKa63ChQG7qdxtOwBq4pfUnd/Tk8j/sf5jJJ9/1kCUWARwx 8BjkpUmMketBLudtrsCWyBBozYP9rLY5jDb2kfST1+GU11HztfAJtVMCXgalJK8g4B/+ 4uAA== MIME-Version: 1.0 Received: by 10.180.92.34 with SMTP id cj2mr22152721wib.8.1332183491525; Mon, 19 Mar 2012 11:58:11 -0700 (PDT) Received: by 10.223.116.141 with HTTP; Mon, 19 Mar 2012 11:58:11 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Mar 2012 11:58:11 -0700 Message-ID: To: Simon Schick Cc: David Soria Parra , internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d043892b5c9bc9e04bb9d231a Subject: Re: [PHP-DEV] php-src is now on git From: kris.craig@gmail.com (Kris Craig) --f46d043892b5c9bc9e04bb9d231a Content-Type: text/plain; charset=ISO-8859-1 Simon, On Mon, Mar 19, 2012 at 11:55 AM, Simon Schick wrote: > 2012/3/19 Kris Craig : > > Hey, > > > > Could we modify the workflow to recommend using the "--no-ff" switch when > > merging in a feature branch? This is by and large the recommended > approach > > as it preserves the feature branch's commit history, making it > > *much*easier to sort through complex features that contain numerous > > commits. > > > > --Kris > > Hi, Kris > > I'd instead suggest to execute the following command in the git-repository: > > git config --add merge.ff false > > Then you do not have to add --no-ff to every merge-command you're doing. > > You could even set it per branch if you want :) (just to round it up ..) > > http://stackoverflow.com/questions/2500296/can-i-make-fast-forwarding-be-off-by-default-in-git > > Bye > Simon > Yes that's a great recommendation and it should definitely be included IMHO! However, the merge.ff option is relatively new and is not available in many older Git clients that are still in use. So the --no-ff tag will still probably be necessary for some people. Perhaps we should recommend both, or would that make things too confusing? --Kris --f46d043892b5c9bc9e04bb9d231a--