Subject: git log -- <old path> not working

From: Ville Syrjälä <[email-masked]>
Date: Tue, 16 Jun 2020 00:25:21 +0300

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