From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Couder Subject: Re: [PATCH 0/5] bisect: Add support for a --no-checkout option. Date: Sat, 30 Jul 2011 16:19:50 +0200 Message-ID: <201107301619.51438.chriscool@tuxfamily.org> References: <1312014511-7157-1-git-send-email-jon.seymour@gmail.com> <201107301548.09815.chriscool@tuxfamily.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org, j6t@kdbg.org, gitster@pobox.com, jnareb@gmail.com To: Jon Seymour X-From: git-owner@vger.kernel.org Sat Jul 30 16:20:08 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QnAOd-0002kP-Vi for gcvg-git-2@lo.gmane.org; Sat, 30 Jul 2011 16:20:08 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751904Ab1G3OUD (ORCPT ); Sat, 30 Jul 2011 10:20:03 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]:59544 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893Ab1G3OUB (ORCPT ); Sat, 30 Jul 2011 10:20:01 -0400 Received: from style.localnet (unknown [82.243.130.161]) by smtp3-g21.free.fr (Postfix) with ESMTP id EA430A6249; Sat, 30 Jul 2011 16:19:53 +0200 (CEST) User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Saturday 30 July 2011 15:58:16 Jon Seymour wrote: > On Sat, Jul 30, 2011 at 11:48 PM, Christian Couder wrote: > > > > Sorry but I didn't reply to your previous email when you asked about a > > "--no- checkout[=]" compromise. I thought that Junio would reply > > and then I forgot about it. > > > > My opinion is that if you really want to be able to use another ref, then > > there should be a special "--update-ref=" or "--use-ref=" > > option that is different from "--no-checkout". > > > > "--no-checkout" looks like a boolean argument. And > > "--no-checkout[=]" may make the user think that this option will > > not checkout , and then it leads to the confusing question "but why > > would it checkout this f&#@ing ref in the first place?". > > Good suggestions. > > So, to confirm that I understand: > > use --no-checkout to control (no-)checkout behaviour and > --update-ref to specify a ref other than HEAD? Yeah, I think it would be less confusing like this. Thanks, Christian.