git log -- <old path> not working
- From
- Ville Syrjälä <ville.syrjala@linux.intel.com>
- Date
- Jun 15, 2020, 21:25 UTC
- Message-ID
- <20200615212521.GT6112@intel.com>
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