Buggy `git log -- path` behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux