All of lore.kernel.org
 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>,
	Kate Rhodes <masukomi@gmail.com>,
	git@vger.kernel.org
Subject: Re: [PATCH 1/2] hard-code the empty tree object
Date: Fri, 15 Feb 2008 09:42:26 -0800	[thread overview]
Message-ID: <7vhcgaglq5.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080215172043.GA24221@sigill.intra.peff.net> (Jeff King's message of "Fri, 15 Feb 2008 12:20:44 -0500")

Jeff King <peff@peff.net> writes:

> By "it" I assume you mean "the sha1 of the empty tree", meaning to not
> include the {} bit at all?

Yes, that's what I meant.

> I am fine with that, as I don't think anyone has even mentioned a
> workflow where such a shorthand would be beneficial to users. The only
> one I can think of is to represent some tree using diff tools (e.g., "git
> diff --stat {} HEAD" instead of some variant on ls-files), but I have
> never once actually wanted to do that.

Likewise.

> Should I re-send, or do you want to just markup the existing patches?

Shouldn't the previous one that uses the hardcoded empty tree
object name good enough that is already on 'pu'?

  reply	other threads:[~2008-02-15 17:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 10:32 [PATCH 1/2] hard-code the empty tree object Jeff King
2008-02-14 12:39 ` Johannes Schindelin
2008-02-14 14:03   ` Jeff King
2008-02-15 17:11 ` Junio C Hamano
2008-02-15 17:20   ` Jeff King
2008-02-15 17:42     ` Junio C Hamano [this message]
2008-02-15 18:25       ` Jeff King

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=7vhcgaglq5.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=masukomi@gmail.com \
    --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 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.