git log -- <old path> not working

From: Ville Syrjälä <hidden>
Date: 2020-06-15 21:25:28

Hi,

Just ran into a strange case with the Linux kernel repo
when trying to look up the history for a file that was
later renamed.

$ git log -- drivers/acpi/configfs.c
-> nothing

$ git log --follow -- drivers/acpi/configfs.c
$ git log --full-history -- drivers/acpi/configfs.c
-> works

First time I've seen this fail. Expected behaviour for
some reason, or a bug?

$ git --version 
git version 2.26.2

-- 
Ville Syrjälä
Intel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help