git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/4] Improvements to sha1_file

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Jun 15, 2017, 20:39 UTC
Message-ID
<cover.1497558850.git.jonathantanmy@google.com>
In-Reply-To
<cover.1497035376.git.jonathantanmy@google.com>
Thanks - this has been updated following Junio's comments.
Patch 1 is unmodified from the previous version.

Patch 2 has been modified to remove the extraneous code pointed out by Junio. I previously had an idea of populating those fields in packed_object_info(), but later changed my mind, but a rebase went wrong.

Patches 3-4 have been updated as I have described in [1] and [2].

[1] https://public-inbox.org/git/20170615111447.1208e02b@twelve2.svl.corp.google.com/ [2] https://public-inbox.org/git/20170615111447.1208e02b@twelve2.svl.corp.google.com/

As before, I would like review on patches 1-3 to go into the tree. (Patch 4 is a work in progress, and is here just to demonstrate the effectiveness of the refactoring.)

Jonathan Tan (4):
  sha1_file: teach packed_object_info about typename
  sha1_file: move delta base cache code up
  sha1_file: consolidate storage-agnostic object fns
  sha1_file, fsck: add missing blob support
 Documentation/config.txt |  10 +
 builtin/fsck.c           |   7 +
 cache.h                  |   8 +
 sha1_file.c              | 474 ++++++++++++++++++++++++++++++-----------------
 t/t3907-missing-blob.sh  |  69 +++++++
 5 files changed, 400 insertions(+), 168 deletions(-)
 create mode 100755 t/t3907-missing-blob.sh
-- 
2.13.1.518.g3df882009-goog
Next: Jonathan Tan
Message 1 of 5 in “Improvements to sha1_file”
  1. 0/4 Improvements to sha1_fileJonathan Tan, Jun 15, 2017
  2. 1/4 sha1_file: teach packed_object_info about typenameJonathan Tan, Jun 15, 2017
  3. 4/4 sha1_file, fsck: add missing blob supportJonathan Tan, Jun 15, 2017
  4. 3/4 sha1_file: consolidate storage-agnostic object fnsJonathan Tan, Jun 15, 2017
  5. 2/4 sha1_file: move delta base cache code upJonathan Tan, Jun 15, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.