Skip to contentSkip to conversation

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

DISCUSSION Olaf Hering 3 participants 4 messages Sep 20, 2024 – Mar 14, 2025

lore
Share & tools
lore
#0 lore raw

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

Thanks,
Olaf

#1 lore raw
Quoted 12 lines · Olaf Hering

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

#2 lore raw
Quoted 16 lines · Jeff King
Quoted 12 lines · Olaf Hering

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

Quoted 6 lines

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

Sorry for the lengthy delay; fix over here:
https://lore.kernel.org/git/[email protected]/

#3 lore raw
Quoted 9 lines · Elijah Newren
Quoted 6 lines

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

Sorry for the lengthy delay; fix over here:
https://lore.kernel.org/git/[email protected]/

Thanks, I left some comments there.

-Peff