git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log -- <old path> not working
@ 2020-06-15 21:25 Ville Syrjälä
  2020-06-17 20:18 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Ville Syrjälä @ 2020-06-15 21:25 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-17 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 21:25 git log -- <old path> not working Ville Syrjälä
2020-06-17 20:18 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).