Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: [PATCH] pretend-sha1: grave bugfix.
Date: Thu, 15 Feb 2007 23:29:39 -0800	[thread overview]
Message-ID: <7v8xeya7bw.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20070216050943.GD28894@spearce.org> (Shawn O. Pearce's message of "Fri, 16 Feb 2007 00:09:43 -0500")

"Shawn O. Pearce" <spearce@spearce.org> writes:

> Aren't we using this for git-blame --contents?  How'd that ever
> work for a non-empty file?

My guess is that git-blame's blob handling has its own built-in
cache to avoid read_sha1_file(), and that single "initial" blob
is primed by hand, so read_sha1_file() is usually not called for
that object name.

      reply	other threads:[~2007-02-16  7:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16  1:16 [PATCH] pretend-sha1: grave bugfix Junio C Hamano
2007-02-16  4:05 ` Johannes Schindelin
2007-02-16  5:09   ` Shawn O. Pearce
2007-02-16  7:29     ` Junio C Hamano [this message]

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=7v8xeya7bw.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /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