git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Buggy `git log -- path` behavior
@ 2023-03-15 16:04 Matthew DeVore
  2023-03-15 17:07 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew DeVore @ 2023-03-15 16:04 UTC (permalink / raw)
  To: git

Hello,

I think the below terminal session demonstrates a bug in git log. Notice the first git log command gives no output. Any thoughts?

~/src$ git clone http://github.com/torvalds/linux
...
~/src$ cd linux
~/src/linux$ git checkout v5.15
~/src/linux$ cd Documentation/vm
~/src/linux/Documentation/vm$ git log -n2 --name-status --oneline -- pagemap.rst
~/src/linux/Documentation/vm$ git log -n2 --name-status --oneline -- 'pagemap.*'
1ad1335dc586 docs/admin-guide/mm: start moving here files from Documentation/vm
D       Documentation/vm/pagemap.rst
41ea9dd36b6b docs/vm: pagemap: change document title
M       Documentation/vm/pagemap.rst
~/src/linux/Documentation/vm$

Thank you,
Matthew

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

end of thread, other threads:[~2023-03-17 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15 16:04 Buggy `git log -- path` behavior Matthew DeVore
2023-03-15 17:07 ` Jeff King
2023-03-17 16:46   ` Matthew DeVore

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).