git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
	Keith Cascio <keith@CS.UCLA.EDU>,
	git@vger.kernel.org
Subject: Re: [PATCH] Add the diff option --no-defaults
Date: Thu, 16 Apr 2009 09:52:50 -0700	[thread overview]
Message-ID: <7v4owok0bh.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20090416094154.GA30479@coredump.intra.peff.net

Jeff King <peff@peff.net> writes:

> On Thu, Apr 16, 2009 at 11:25:08AM +0200, Johannes Schindelin wrote:
>
>> > This feels very hack-ish to me, but perhaps this is a case of "perfect
>> > is the enemy of the good".
>> 
>> I have a strong feeling that none of our diff/rev options can sanely take 
>> a parameter looking like "--defaults" or "--no-defaults".
>> 
>> But I do not have the time to audit the options.  Maybe you have?
>
> Right now, I think we are safe. A few options like "--default" do take a
> separated string argument, but saying "--default --no-defaults" seems a
> little crazy to me (besides being confusing because they are talking
> about two totally unrelated defaults).

Maybe you guys have already considered and discarded this as too hacky,
but isn't it the easiest to explain and code to declare --no-defaults is
acceptable only at the beginning?

  reply	other threads:[~2009-04-16 16:54 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1233598855-1088-1-git-send-email-keith@cs.ucla.edu>
2009-02-02 18:20 ` [PATCH v2 1/2] Introduce config variable "diff.primer" Keith Cascio
2009-02-02 18:20   ` [PATCH v2 2/2] Test functionality of new " Keith Cascio
2009-02-02 20:45     ` [PATCH v2 0/2] Introduce " Keith Cascio
2009-02-02 21:03   ` Keith Cascio
2009-02-03  7:15   ` [PATCH v2 1/2] " Jeff King
2009-02-03 17:55     ` Keith Cascio
2009-02-04  5:43       ` Junio C Hamano
2009-02-04  6:36         ` Keith Cascio
2009-02-06 16:54           ` Jeff King
2009-02-06 16:19       ` Jeff King
2009-02-07 21:45         ` Junio C Hamano
2009-02-09 17:24         ` Keith Cascio
2009-02-13 22:22           ` Jeff King
2009-02-14  6:03             ` Johannes Schindelin
2009-02-14  6:15               ` Jeff King
2009-02-14  6:24                 ` Johannes Schindelin
2009-02-14 15:17                   ` Jeff King
2009-02-15 23:26                   ` Keith Cascio
2009-02-15 23:39                     ` Junio C Hamano
2009-02-17  7:24             ` diff.defaultOptions implementation design [was diff.primer] Keith Cascio
2009-02-17 19:56               ` Jeff King
2009-03-17 16:05     ` [PATCH v2 1/2] Introduce config variable "diff.defaultOptions" Keith Cascio
2009-03-20  7:01       ` Jeff King
2009-03-20 17:11         ` Keith Cascio
2009-03-20 19:49           ` Jeff King
2009-03-21  2:00             ` [PATCH/RFC v3] Introduce config variable "diff.defaultoptions" Keith Cascio
2009-03-21  3:15               ` [PATCH] Allow setting default diff options via diff.defaultOptions Johannes Schindelin
2009-04-03  0:04                 ` Keith Cascio
2009-04-09  8:45                   ` Johannes Schindelin
2009-04-09  8:49                     ` Jeff King
2009-04-09 10:43                       ` Johannes Schindelin
2009-04-10  8:01                         ` Jeff King
2009-04-13 22:37                           ` [PATCH] Add the diff option --no-defaults Johannes Schindelin
2009-04-16  8:34                             ` Jeff King
2009-04-16  9:25                               ` Johannes Schindelin
2009-04-16  9:41                                 ` Jeff King
2009-04-16 16:52                                   ` Junio C Hamano [this message]
2009-04-16 17:36                                     ` Johannes Schindelin
2009-04-17 11:54                                     ` Jeff King
2009-04-17 13:15                                       ` Johannes Schindelin
2009-04-18 16:41                                         ` Keith Cascio
2009-04-18 17:40                                           ` Johannes Schindelin
2009-04-18 20:32                                             ` Keith Cascio
2009-04-18 21:15                                               ` Johannes Schindelin
2009-04-09 16:29                     ` [PATCH] Allow setting default diff options via diff.defaultOptions Keith Cascio
2009-04-09  0:44                 ` Keith Cascio
2009-04-09  8:29                   ` Johannes Schindelin
2009-04-09  8:31                   ` Jeff King
2009-02-03 18:56   ` [PATCH v2 1/2] Introduce config variable "diff.primer" Jakub Narebski
2009-02-03 19:13     ` Keith Cascio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v4owok0bh.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=keith@CS.UCLA.EDU \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).