Thread (1 message) 1 message, 1 author, 2017-02-24

Re: fatal error when diffing changed symlinks

From: Junio C Hamano <hidden>
Date: 2017-02-24 17:53:12

Christophe Macabiau [off-list ref] writes:
with the commands below, you will get :
quoted
fatal: bad object 0000000000000000000000000000000000000000
show 0000000000000000000000000000000000000000: command returned error: 128
I am using version 2.5.5 fedora 23

cd /tmp
mkdir a
cd a
git init
touch b
ln -s b c
git add .
git commit -m 'first'
touch d
rm c
ln -s d c
git difftool --dir-diff
A slightly worse is that the upcoming Git will ship with a rewritten
"difftool" that makes the above sequence segfault.  As either way is
bad, I do not particularly think the rewritten one needs to be
reverted (it would give "fatal: bad object" then, and would not fix
your problem), but it needs to be looked at.

Thanks for a report.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help