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@xxxxxxxxxx/ 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