All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Roman Neuhauser <neuhauser@sigpipe.cz>
Cc: git@vger.kernel.org
Subject: Re: git-diff-tree --root
Date: Fri, 12 Sep 2014 10:31:30 -0700	[thread overview]
Message-ID: <xmqq61gsbv9p.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20140912130607.GX4075@isis.sigpipe.cz> (Roman Neuhauser's message of "Fri, 12 Sep 2014 15:06:07 +0200")

Roman Neuhauser <neuhauser@sigpipe.cz> writes:

> git-diff-tree without --root is absolutely silent for the root commit,
> and i see no bad effects of --root on non-root commits.  are there any
> hidden gotchas?  IOW, why is the --root behavior not the default?

Because tools that was written before you proposed that change
expect to see nothing for the root commit, and then you are suddenly
breaking their expectations?

  reply	other threads:[~2014-09-12 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12 13:06 git-diff-tree --root Roman Neuhauser
2014-09-12 17:31 ` Junio C Hamano [this message]
2014-09-13  8:57   ` Roman Neuhauser
2014-09-15 17:04     ` Junio C Hamano

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=xmqq61gsbv9p.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=neuhauser@sigpipe.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.