From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Moy Subject: Re: [PATCH 0/3] Reject non-ff pulls by default Date: Mon, 09 Sep 2013 22:50:31 +0200 Message-ID: References: <20130908041805.GB14019@sigill.intra.peff.net> <20130908172605.GF5359@vauxhall.crustytoothpaste.net> <20130909000153.GG5359@vauxhall.crustytoothpaste.net> <20130909195231.GA14021@sigill.intra.peff.net> <20130909202435.GJ2582@serenity.lan> Mime-Version: 1.0 Content-Type: text/plain Cc: Jeff King , Junio C Hamano , Felipe Contreras , "brian m. carlson" , git@vger.kernel.org, Andreas Krey To: John Keeping X-From: git-owner@vger.kernel.org Mon Sep 09 22:50:56 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJ8QB-0001hz-72 for gcvg-git-2@plane.gmane.org; Mon, 09 Sep 2013 22:50:55 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755379Ab3IIUuv (ORCPT ); Mon, 9 Sep 2013 16:50:51 -0400 Received: from mx1.imag.fr ([129.88.30.5]:40561 "EHLO shiva.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754425Ab3IIUuu (ORCPT ); Mon, 9 Sep 2013 16:50:50 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by shiva.imag.fr (8.13.8/8.13.8) with ESMTP id r89KoTNI008785 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 9 Sep 2013 22:50:29 +0200 Received: from anie.imag.fr ([129.88.7.32]) by mail-veri.imag.fr with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VJ8Pn-0004KN-UU; Mon, 09 Sep 2013 22:50:31 +0200 In-Reply-To: <20130909202435.GJ2582@serenity.lan> (John Keeping's message of "Mon, 9 Sep 2013 21:24:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Mon, 09 Sep 2013 22:50:30 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: r89KoTNI008785 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1379364634.02275@IjSldo6TzZ9H+5yy/7S/iA Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: John Keeping writes: > I think we need to make sure that we give instructions for how to go > back if the default hasn't done what you wanted. Something like this: > > Your pull did not fast-forward, so Git has merged '$upstream' into > your branch, which may not be correct for your project. If you > would rather rebase your changes, run > > git rebase > > See "pull.mode" in git-config(1) to suppress this message in the > future. Sounds good to me. One option is to display the warning on the command-line, and another option is to show it in COMMIT_EDITMSG (since we now default to showing it even for non-conflicted merges). -- Matthieu Moy http://www-verimag.imag.fr/~moy/