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

Re: BUG: diffcore-rename.c:1674: tracking failed somehow; failed to find associated dst for broken pair

From
Jeff King <peff@peff.net>
Date
Sep 20, 2024, 13:07 UTC
Message-ID
<20240920130729.GA7349@peff.net>
In-Reply-To
<20240920112228.3d1130f5.olaf@aepfle.de>
On Fri, Sep 20, 2024 at 11:22:28AM +0200, Olaf Hering wrote:
Show 12 quoted lines
> The following issue left my terminal in a weird state.
> Is this a bug in the repository, or a bug in git 2.43/46?
> 
> set -ex
> pushd /dev/shm
> test -d x.git || git clone https://github.com/intel/linux-sgx.git x.git
> cd $_
> git checkout -b $PPID.$$ a53adeaab7a8176fabb415bfcdf6d29fe4060678
> d=external/ippcp_internal/inc
> git log -p -b -B -w --stat --follow "$d" |& tail
> cd $d
> git log -p -b -B -w --stat --follow . |& tail

Definitely a bug in Git, since we're hitting a BUG(). Looks like it reproduces with just "-B --follow" on the path in question. Bisecting leads to 9db2ac5616 (diffcore-rename: accelerate rename_dst setup, 2020-12-11). +cc Elijah.

-Peff
Previous: Olaf HeringNext: Elijah Newren
Message 2 of 4 in “BUG: diffcore-rename.c:1674: tracking failed somehow; failed to find associated dst for broken pair”
  1. Olaf HeringSep 20, 2024
  2. Jeff KingSep 20, 2024
  3. Elijah NewrenMar 14, 2025
  4. Jeff KingMar 14, 2025

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.