From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: What's cooking in git.git (topics) Date: Sun, 20 Jul 2008 12:58:38 -0700 Message-ID: <7vd4l85nv5.fsf@gitster.siamese.dyndns.org> References: <7vr69r8sqk.fsf@gitster.siamese.dyndns.org> <7vlk01hqzz.fsf@gitster.siamese.dyndns.org> <20080718175040.6117@nanako3.lavabit.com> <20080718182010.6117@nanako3.lavabit.com> <7v63r38r4r.fsf@gitster.siamese.dyndns.org> <7vabge30dh.fsf@gitster.siamese.dyndns.org> <20080720130407.GF10347@genesis.frugalware.org> <7vd4l88l77.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Miklos Vajna , Nanako Shiraishi , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Sun Jul 20 21:59:51 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KKf4Q-0000Ew-HJ for gcvg-git-2@gmane.org; Sun, 20 Jul 2008 21:59:50 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbYGTT6v (ORCPT ); Sun, 20 Jul 2008 15:58:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751498AbYGTT6v (ORCPT ); Sun, 20 Jul 2008 15:58:51 -0400 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:34294 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbYGTT6v (ORCPT ); Sun, 20 Jul 2008 15:58:51 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id 0B7BD34C39; Sun, 20 Jul 2008 15:58:48 -0400 (EDT) Received: from pobox.com (ip68-225-240-77.oc.oc.cox.net [68.225.240.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 713F534C38; Sun, 20 Jul 2008 15:58:42 -0400 (EDT) In-Reply-To: (Johannes Schindelin's message of "Sun, 20 Jul 2008 21:07:06 +0200 (CEST)") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: 44348022-5696-11DD-9887-3113EBD4C077-77302942!a-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Schindelin writes: >> I personally think -sstrategy=string1,string2,... is simply a bad taste. >> >> Why force yourself to parse things by having the users to concatenate >> something that the user could give us separated? If you care about the >> order and association between strategy and their options, you can always >> do: >> >> -s strategy1 -X option-1-for-strategy-1 -X option-2-for-strategy-1 \ >> -s strategy2 -X option-1-for-strategy-2 ... > > You mean something like > > $ git merge -s subtree -X --path -X git-gui/ git-gui/master > > Wow. :-) I would envision it to be more like: $ git merge -s subtree -Xpath=git-gui git-gui/master which git-merge internally would turn into: $ git-merge-subtree --path=git-gui HEAD -- OURS THEIRS That way both the external command line (that the end users do care about) and the internal one (that the strategy programmer would care about) look a lot more sensible than your command line, don't they?