From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: git@vger.kernel.org
Subject: git log -- <old path> not working
Date: Tue, 16 Jun 2020 00:25:21 +0300 [thread overview]
Message-ID: <20200615212521.GT6112@intel.com> (raw)
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
next reply other threads:[~2020-06-15 21:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 21:25 Ville Syrjälä [this message]
2020-06-17 20:18 ` git log -- <old path> not working Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200615212521.GT6112@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).