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

[PATCH 0/1] Teaching the diff machinery about blobfind [WAS: git describe <blob>]

From
Stefan Beller <sbeller@google.com>
Date
Nov 20, 2017, 22:25 UTC
Message-ID
<20171120222529.24995-1-sbeller@google.com>

This seems to be an easier approach; thanks Junio for hinting at it. This certainly solves our immediate needs, we may want to build 'git describe <blob>' on top of it or defer it until later.

Thanks, Stefan

previous descussion https://public-inbox.org/git/20171028004419.10139-1-sbeller@google.com/

Stefan Beller (1):
  diffcore: add a filter to find a specific blob
 Documentation/diff-options.txt |  4 ++++
 Makefile                       |  1 +
 builtin/log.c                  |  2 +-
 diff.c                         | 20 ++++++++++++++++-
 diff.h                         |  3 +++
 diffcore-blobfind.c            | 51 ++++++++++++++++++++++++++++++++++++++++++
 diffcore.h                     |  1 +
 revision.c                     |  3 ++-
 t/t4064-diff-blobfind.sh       | 35 +++++++++++++++++++++++++++++
 9 files changed, 117 insertions(+), 3 deletions(-)
 create mode 100644 diffcore-blobfind.c
 create mode 100755 t/t4064-diff-blobfind.sh
-- 
2.15.0.128.gcadd42da22
Next: Stefan Beller
Message 1 of 5 in “Teaching the diff machinery about blobfind [WAS: git describe <blob>]”
  1. 0/1 Teaching the diff machinery about blobfind [WAS: git describe <blob>]Stefan Beller, Nov 20, 2017
  2. 1/1 diffcore: add a filter to find a specific blobStefan Beller, Nov 20, 2017
  3. Junio C HamanoNov 24, 2017
  4. Junio C HamanoNov 25, 2017
  5. Junio C HamanoDec 7, 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.